File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -10,30 +10,28 @@ A template that serves as a starting point
1010
1111__ HelloWorld__
1212Turns on LED 4 (the blue LED).
13- An LED connected to pin 2 should work as well.
1413
1514###01 .LEDs
1615
1716__ Blink__
1817
19- Replicates Arduino's Blink sketch exactly (uses .on() and .off())
20-
21- Turns on LED 4 for 1000 milliseconds (1 second);
22- Turns off LED 4 for 1000 milliseconds;
23- loops
18+ Replicates Arduino's Blink sketch exactly (uses .on() and .off() and loops)
2419
2520__ BlinkWithoutDelay__
26- Replicates Arduino's BlinkWithoutDelay sketch (uses .toggle())
27-
28- Same effect as Blink, but uses pyb.millis()
21+ Replicates Arduino's BlinkWithoutDelay sketch (uses .toggle() and .millis())
2922
3023__ BlinkWithToggle__
3124Same as Blink, but uses .toggle()
3225
33- __ Fade__
26+ __ Fade__
3427Similar to Arduino's Fade sketch
3528
36- Fades LED 4 on and off
29+ ###02 .Inputs
30+
31+ __ SimpleButton__
32+ Pull down button that toggles an LED
3733
34+ __ Potentiometer__
35+ Simple analog input that controls an LED's intensity
3836
3937
You can’t perform that action at this time.
0 commit comments