- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 51单片机 两个单片机串口通信 单个数码管 连续发送单个字节
主机(发送机) 代码 /****************************************************** @File : 串两单片机通信(发送学号后6位)--主机.c @Author: zero @Date : 2021/09/27 *****************************************************/ #include <reg51.h> sbit key = P3 ^ 7; //定义按钮端口 sbit led = P
2021-09-28 12:59:23
2960
原创 51单片机 串口通信 单个数码管 显示单个数字 闪烁
代码 /****************************************************** @File : 串口通信(发送学号末位).c @Author: zero @Date : 2021/09/27 *****************************************************/ #include <reg51.h> //包含头文件 #include <intrins.h> sbit KEY = P3 ^ 2; /.
2021-09-28 12:53:30
2443
1
原创 python GPS解析,坐标转换,两经纬度直线距离,方位角
安装模块 pip install pyserial pip install serial 完整代码 # 导入模块 import os from time import sleep from serial import Serial from serial.tools import list_ports from math import sqrt, fabs, sin, cos, atan2, radians, asin, degrees # 电脑串口 def computer_Port1()
2021-09-06 10:01:11
2561
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅