Skip to content

Commit 1c8d7bf

Browse files
committed
Update README.md
1 parent 3c39031 commit 1c8d7bf

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,28 @@ A template that serves as a starting point
1010

1111
__HelloWorld__
1212
Turns 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__
3124
Same as Blink, but uses .toggle()
3225

33-
__Fade__
26+
__Fade__
3427
Similar 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

0 commit comments

Comments
 (0)