闪电 发表于 2020-4-4 16:00:36

11.串口通信

'''实验名称:串口通信版本:v1.0日期:2019.10作者:01Studio说明:通过编程实现串口通信,跟电脑串口助手实现数据收发。'''
#导入串口模块from pyb import UART
uart=UART(3,115200) #设置串口号3和波特率,TX--Y9,RX--Y10
uart.write('Hello 01Studio!')#发送一条数据
while True:
    #判断有无收到信息    if uart.any():            text=uart.read(64) #默认单次最多接收64字节               print(text) #通过REPL打印串口3接收的数据

Danielnon 发表于 2020-6-9 23:12:39

CSStore is specialized in reselling OEM ACDSee software online

Good day, I recently came to the CSShop - Cheap Software Store.
They sell OEM Sony software, prices are actually low, I read reviews and decided to buy VMware Fusion 11 Pro, the price difference with the official shop is 10%!!! Tell us, do you think this is a good buy?
Satisfaction exceeded my expectations. I will always buy my software needs through the CSShop website until they get what I need.

AnnaFokina 发表于 2020-7-4 01:18:53

Распродажа сегодня


https://meblor.ru

CarlosCadly 发表于 2020-7-4 22:48:14

Tell me your recommendations please.

sihanAnach ??? 2020-7-2 22:31
нож victorinox rangergrip 78 или ножи фирмы викторинокс

https://www.v ...

Guys just made a web-page for me, look at the link:
<a href=http://testlpgenerator.ru/legend/>http://testlpgenerator.ru/legend/</a> Tell me your testimonials. Thank you.

domlox 发表于 2020-8-15 09:40:26

Работа в ресторане "Теремок"

Зарабатывай до 47000 рублей в месяц https://bit.ly/3k71xT0
Помощь в оформлении мед. книжки
https://clck.ru/QH2W4

ThomasWoody 发表于 2020-12-10 09:14:15

-

You are not right. I can prove it. Write to me in PM, we will discuss.

WilliamJah 发表于 2021-1-12 16:01:52

-

I consider, that you commit an error. I can defend the position. Write to me in PM, we will discuss.

ShopperMothe 发表于 2021-3-29 12:36:41

-

What necessary words... super, a remarkable phrase

RonaldSnare 发表于 2021-4-28 08:18:00

-

What do you mean?

飞荣栎 发表于 2021-5-15 11:03:34

挺好啊挺好











static/image/common/sigline.gif
yinliaomall.com
yinongmall.com
yinshimall.com
yinshuamall.com
yinyuemall.com
页: [1] 2
查看完整版本: 11.串口通信