The OP
Published on 2018-6-20 10:54
Only look at the author
This post is from MicroPython Open Source section
Latest reply
This post was last edited by dcexpert on 2018-6-23 16:13An i is missing here. The correct code is as follows:import pyb leds = [pyb.LED(i) for i in range(1,5)] def flashleds(): i = 1 for i in range(5): leds[i].on() pyb.delay(500) leds[i].off() pyb.delay(500) flashleds()复制代码
Details
Published on 2018-6-23 16:11
| ||
|
||
2
Published on 2018-6-20 11:59
Only look at the author
This post is from MicroPython Open Source section
Comments | ||
|
||
|
3
Published on 2018-6-20 13:40
Only look at the author
This post is from MicroPython Open Source section
| ||
|
||
|
4
Published on 2018-6-20 13:41
Only look at the author
This post is from MicroPython Open Source section
Comments | ||
|
||
|
This post is from MicroPython Open Source section
| ||
|
||
|
mobilefone
Currently offline
|
6
Published on 2018-6-23 15:35
Only look at the author
This post is from MicroPython Open Source section
Comments | |
|
||
|
7
Published on 2018-6-23 16:11
Only look at the author
This post is from MicroPython Open Source section
| ||
|
||
|
This post is from MicroPython Open Source section
| ||
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190