micropython编程爱好网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 28826|回复: 17

11.串口通信

[复制链接]

24

主题

24

帖子

2318

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2318
发表于 2020-4-4 16:00:36 | 显示全部楼层 |阅读模式
'''实验名称:串口通信版本:v1.0日期:2019.10作者:01Studio说明:通过编程实现串口通信,跟电脑串口助手实现数据收发。'''
* b7 E/ W$ y( k/ j1 R( v#导入串口模块from pyb import UART
& V) \, O" H  k8 q+ @" `uart=UART(3,115200) #设置串口号3和波特率,TX--Y9,RX--Y10- G; D% K- k& C* W, h. B6 h! `# w
uart.write('Hello 01Studio!')#发送一条数据- S9 \: q4 {% q3 V! b
while True:
/ m& @& W1 M3 M% ]    #判断有无收到信息    if uart.any():              text=uart.read(64) #默认单次最多接收64字节               print(text) #通过REPL打印串口3接收的数据
回复

使用道具 举报

0

主题

1

帖子

4

积分

新手上路

Rank: 1

积分
4
发表于 2020-6-9 23:12:39 | 显示全部楼层

CSStore is specialized in reselling OEM ACDSee software online

Good day, I recently came to the CSShop - [url=https://cheapsoftwareshop.com/product.php?/microsoft-office-professional-plus-2019/]Cheap Software Store[/url]. $ @7 g  Q4 Y" Z9 w# S9 R2 U) ?4 @
They sell OEM Sony software, prices are actually low, I read reviews and decided to buy [url=https://cheapsoftwareshop.com/product.php?/sketchup-pro-2020/]VMware Fusion 11 Pro[/url], the price difference with the official shop is 10%!!! Tell us, do you think this is a good buy?
, X, P  A$ O( s/ @& a, g( X6 MSatisfaction exceeded my expectations. I will always buy my software needs through the CSShop website until they get what I need.
回复

使用道具 举报

0

主题

1

帖子

4

积分

新手上路

Rank: 1

积分
4
发表于 2020-7-4 01:18:53 | 显示全部楼层

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


; o* w4 G: c3 A0 r6 o. H3 ]) ahttps://meblor.ru
回复

使用道具 举报

0

主题

1

帖子

6

积分

新手上路

Rank: 1

积分
6
发表于 2020-7-4 22:48:14 | 显示全部楼层

Tell me your recommendations please.

[quote][size=2][url=forum.php?mod=redirect&goto=findpost&pid=13&ptid=5][color=#999999]sihanAnach ??? 2020-7-2 22:31[/color][/url][/size]& Z) S3 A% M7 m4 }' o" k9 G) J# a
нож victorinox rangergrip 78 или ножи фирмы викторинокс
2 d/ a) E  ]9 k1 | * A9 M+ h' u0 E1 p+ y' M+ `2 S' k
https://www.v ...[/quote]: U7 }( Y& E# l) |) o  _. e/ L

: X- X1 }) C. j2 j+ r. }- V& [Guys just made a web-page for me, look at the link:  ' Q- s: s. Q' u2 _! ~# s; v
<a href=http://testlpgenerator.ru/legend/>http://testlpgenerator.ru/legend/</a> Tell me your testimonials. Thank you.
回复

使用道具 举报

0

主题

1

帖子

46

积分

新手上路

Rank: 1

积分
46
发表于 2020-8-15 09:40:26 | 显示全部楼层

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

Зарабатывай до 47000 рублей в месяц https://bit.ly/3k71xT0 ) A/ t: a0 N1 W0 L
Помощь в оформлении мед. книжки 8 ^- [$ ^1 w- {: m4 D
https://clck.ru/QH2W4
回复

使用道具 举报

0

主题

4

帖子

24

积分

新手上路

Rank: 1

积分
24
发表于 2020-12-10 09:14:15 | 显示全部楼层

-

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

使用道具 举报

0

主题

4

帖子

24

积分

新手上路

Rank: 1

积分
24
发表于 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.
回复

使用道具 举报

0

主题

1

帖子

6

积分

新手上路

Rank: 1

积分
6
发表于 2021-3-29 12:36:41 | 显示全部楼层

-

What necessary words... super, a remarkable phrase
回复

使用道具 举报

0

主题

4

帖子

36

积分

新手上路

Rank: 1

积分
36
发表于 2021-4-28 08:18:00 | 显示全部楼层

-

What do you mean?
回复

使用道具 举报

0

主题

3

帖子

22

积分

新手上路

Rank: 1

积分
22
发表于 2021-5-15 11:03:34 | 显示全部楼层
挺好啊挺好
( q/ n9 O5 [) @7 ]4 W+ T! x' y0 r% N1 x9 H& |* a
3 H- h  b5 I# G
4 q5 d+ k! c- j+ l+ @

, X: {' Q; |9 u+ s- c& C- _8 S* h8 h; }6 u1 I8 k$ E* r

; L) k5 S8 t, g- _5 {* ^  m4 e* g9 ]7 g% H: e2 b$ F
& E3 y- R9 Z. Z
, z+ {& I+ {5 Z" @% l& u( i7 V* A

0 C9 E; N- E, l3 y+ I. h5 g) @  M/ a5 j$ ^3 B  g

! f9 n8 [7 ^# c! p6 i/ H; C[size=2]yinliaomall.com: w7 a/ p/ l  ?7 ^% R% z9 ]6 m, C: ]
yinongmall.com
+ v+ l$ S' r, l2 E4 U$ E5 Cyinshimall.com
- x# ^* t% w- ^! ~3 `# Cyinshuamall.com% b( l7 m# r/ g# M( _/ B4 ]
yinyuemall.com[/size]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|micropython编程爱好网 ( 粤ICP备14010847号-3 ) microPython技术交流 microPython技术交流2

粤公网安备 44030702001224号

GMT+8, 2024-4-19 16:19 , Processed in 0.202801 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表