Line 92: | Line 92: | ||
*Fading an LED |
*Fading an LED |
||
<syntaxhighlight lang="python"> |
<syntaxhighlight lang="python"> |
||
⚫ | |||
import time, math |
import time, math |
||
import machine |
|||
⚫ | |||
def pulse(l, t): |
def pulse(l, t): |
||
for i in range(20): |
for i in range(20): |