当前位置:网站首页>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?
**
边栏推荐
- sql有关问题,小时粒度,找到前一个小时内的数据
- Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
- Intranet penetration - application
- 5. Scrapy middleware & distributed crawler
- pytorch applied to MNIST handwritten font recognition
- What is SVN (Subversion)?
- Flink原理流程图简单记录
- [Original] Start the XPS/OXPS reader that comes with Windows 10
- 内网穿透-应用
- MallBook联合人民交通出版社,推动驾培领域新发展,开启驾培智慧交易新生态
猜你喜欢
STM8S105k4t6c--------------点亮LED
pytorch applied to MNIST handwritten font recognition
MySQL高级-读写分离-分库分表
一文看懂推荐系统:召回05:矩阵补充、最近邻查找,工业界基本不用了,但是有助于理解双塔模型
STM8S105K4T6------串口发送和接收
In a more general sense, calculating the displacement distance and assumptions
Download install and create/run project for HBuilderX
Engineering drawing review questions (with answers)
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
Flask Framework Beginner-05-Command Management Manager and Database Use
随机推荐
Example 035: Setting the output color
云开发校园微社区微信小程序源码/二手交易/兼职交友微信小程序开源源码
Parquet encoding
halcon自定义函数基本操作
[Original] Start the XPS/OXPS reader that comes with Windows 10
Parquet encoding
WPE详细教程
sudo 权限控制,简易
2022.8.3-----leetcode.899
实例036:算素数
SAP SD模块前台操作
Dong mingzhu live cold face away, when employees frequency low-level mistakes, no one can understand their products
实例040:逆序列表
瑞能微计量芯片RN2026的实用程序
2022广东省安全员A证第三批(主要负责人)考试题库及模拟考试
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
In a more general sense, calculating the displacement distance and assumptions
董明珠直播时冷脸离场,员工频犯低级错误,自家产品没人能弄明白
22/8/3(板子)树状dp板子+中国剩余定理+求组合数3,4+容斥原理
倒计时2天,“文化数字化战略新型基础设施暨文化艺术链生态建设发布会”启幕在即