当前位置:网站首页>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?
**
边栏推荐
- FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
- 验证码业务逻辑漏洞
- flinkcdc 消费 mysql binlog 没有 sqltype=delete 的数据是什么原
- Zabbix设置邮件告警+企业微信告警
- Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
- Dong mingzhu live cold face away, when employees frequency low-level mistakes, no one can understand their products
- 参加Oracle OCP和MySQL OCP考试的学员怎样在VUE预约考试
- Day13 Postman的使用
- DDTL: Domain Transfer Learning at a Distance
- 董明珠直播时冷脸离场,员工频犯低级错误,自家产品没人能弄明白
猜你喜欢
随机推荐
Ant - the design of the Select component using a custom icon (suffixIcon attribute) suffixes, click on the custom ICONS have no reaction, will not display the drop-down menu
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
Flask框架初学-05-命令管理Manager及数据库的使用
DDTL: Domain Transfer Learning at a Distance
实例037:排序
内网穿透-应用
halcon自定义函数基本操作
【Playwright测试教程】5分钟上手
第08章 索引的创建与设计原则【2.索引及调优篇】【MySQL高级】
Flask Framework Beginner-06-Add, Delete, Modify and Check the Database
实例036:算素数
MallBook联合人民交通出版社,推动驾培领域新发展,开启驾培智慧交易新生态
2022.8.3-----leetcode.899
cdh6.x 集成spark-sql
What is SVN (Subversion)?
Download install and create/run project for HBuilderX
STM8S105K4T6------串口发送和接收
QNX Hypervisor 2.2用户手册]10.1 通用vdev选项
董明珠直播时冷脸离场,员工频犯低级错误,自家产品没人能弄明白
QNX Hypervisor] 10.2 vdev 8259 2.2 user manual