当前位置:网站首页>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?
**
边栏推荐
- C program compilation and predefined detailed explanation
- 瑞能微计量芯片RN2026的实用程序
- lombok注解@RequiredArgsConstructor的使用
- Good bosses, please ask the flink CDC oracle to Doris, found that the CPU is unusual, a run down
- 在更一般意义上验算移位距离和假设
- STM8S105k4t6c--------------点亮LED
- Kubernetes:(十一)KubeSphere的介绍和安装(华丽的篇章)
- Flask Framework Beginner-05-Command Management Manager and Database Use
- html select tag assignment database query result
- 贪吃蛇游戏Bug解析及功能扩展
猜你喜欢

STM8S105K4T6------串口发送和接收

mpf5_定价Bond_yield curve_Spot coupon_duration_有效利率_连续复利_远期_Vasicek短期_CIR模型Derivatives_Tridiagonal_ppf

priority_queue元素为指针时,重载运算符失效

5. Scrapy middleware & distributed crawler

小程序+新零售,玩转行业新玩法!

贪吃蛇游戏Bug解析及功能扩展

C program compilation and predefined detailed explanation

共n级台阶,每次可以上1级或2级台阶,有多少种上法?

SAP SD module foreground operation

2022年茶艺师(中级)考试试题模拟考试平台操作
随机推荐
Simple record of Flink principle flow chart
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
STM32-遥感数据处理
QNX Hypervisor 2.2 user manual] 10.1 gm vdev options
pytorch应用于MNIST手写字体识别
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
实例035:设置输出颜色
香港服务器有哪些常用的型号
持续投入商品研发,叮咚买菜赢在了供应链投入上
sudo 权限控制,简易
倒计时2天,“文化数字化战略新型基础设施暨文化艺术链生态建设发布会”启幕在即
单片机C语言->的用法,和意思
织梦响应式酒店民宿住宿类网站织梦模板(自适应手机端)
浏览器存储
C语言力扣第54题之螺旋矩阵。模拟旋转
深度学习(三)分类 理论部分
Taurus.MVC WebAPI 入门开发教程1:框架下载环境配置与运行(含系列目录)。
LeetCode:899. 有序队列【思维题】
There are n steps in total, and you can go up to 1 or 2 steps each time. How many ways are there?
编写 BOLL 心得体会