当前位置:网站首页>Homemade bluetooth mobile app to control stm8/stm32/C51 onboard LED
Homemade bluetooth mobile app to control stm8/stm32/C51 onboard LED
2022-08-04 02:34:00 【kick the player】
Let's share here, self-made mobile app to control the LED on the microcontroller to realize the communication between the upper computer and the lower computer
This time I share the bluetooth app to control stm8, stm32, and C51. I have shared it in the previous article. If you don’t understand, you can read it –>Portal
The principle is very simple, that is, the Bluetooth mobile app sends character 1 (on), character 2 (off)p>
The production of the bluetooth app looks at the portal above me, nothing has changed here
The code here is based on the stm8s serial port communication code. If there is no code, you can read my last article->Portal
In fact, these are very simple, just look at the code below.
What could be simpler?no more
We click forward and backward on the mobile phone (this is an app made by a bluetooth car before, I am too lazy to change it)
Forward - send character 1
Back - send character 2
So it will beTurn on the LED and see the picture below
before the button was clicked
After clicking the button
The serial assistant is informative
**
In this way, the operation of Bluetooth control stm8 is realized, is it very simple?
**
边栏推荐
- 2022G1工业锅炉司炉考试练习题及模拟考试
- Web APIs BOM- 操作浏览器:swiper 插件
- Big guys, it takes a long time to read mysql3 million single tables, what parameters can be discounted, or is there any way to hurry up
- cdh6.x 集成spark-sql
- Flink原理流程图简单记录
- 2022广东省安全员A证第三批(主要负责人)考试题库及模拟考试
- 多线程 之 JUC 学习篇章一 创建多线程的步骤
- 自制蓝牙手机app控制stm8/stm32/C51板载LED
- C程序编译和预定义详解
- Small Turtle Compilation Notes
猜你喜欢
随机推荐
TOML配置文件格式,YAML最有力的竞争者
【指针内功修炼】深度剖析指针笔试题(三)
Big guys, it takes a long time to read mysql3 million single tables, what parameters can be discounted, or is there any way to hurry up
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
cdh6.x 集成spark-sql
halcon自定义函数基本操作
Example 035: Setting the output color
第08章 索引的创建与设计原则【2.索引及调优篇】【MySQL高级】
阿里云国际版基于快照与镜像功能迁移云服务器数据
小程序+新零售,玩转行业新玩法!
2022年茶艺师(中级)考试试题模拟考试平台操作
Example: 036 is a prime number
香港服务器有哪些常用的型号
Parquet encoding
lombok注解@RequiredArgsConstructor的使用
Promise solves blocking synchronization and turns asynchronous into synchronous
小甲鱼汇编笔记
esp8266-01s刷固件步骤
Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain
C# 构造函数业务场景测试项目