Skip to content

Commit 28f0503

Browse files
committed
updated boot.py
1 parent fdea9f7 commit 28f0503

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

00.Basics/boot.py

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,63 @@
1010
script.
1111
'''
1212

13+
'''
14+
If you're using the MicroPython-Examples github repo,
15+
just uncomment the required line.
16+
'''
17+
18+
#00.Basics/
19+
1320
pyb.main('helloWorld.py') # main script to run after this one
1421

1522

23+
#01.LEDs/
24+
25+
#pyb.main('blink.py')
26+
#pyb.main('blinkToggle.py')
27+
#pyb.main('blinkWithoutDelay.py')
28+
#pyb.main('fade.py')
29+
#pyb.main('heartbeat.py')
30+
#pyb.main('heartbeatFade.py')
31+
32+
33+
#02.Inputs/
34+
35+
#pyb.main('button.py')
36+
#pyb.main('potentiometer.py')
37+
#pyb.main('switch.py')
38+
#pyb.main('switchCallback.py')
39+
40+
41+
#03.Pins/
42+
43+
#pyb.main('PinsBasicOutput.py')
44+
45+
46+
#04.Accelerometer/
47+
48+
#pyb.main('accelerometer.py')
49+
#pyb.main('accelerometerControlLED.py')
50+
51+
52+
#05.Servos
53+
54+
#pyb.main('ServoGetAngle.py')
55+
#pyb.main('ServoSetAngle.py')
56+
57+
58+
#06.Clock
59+
60+
#pyb.main('clock.py')
61+
62+
63+
#07.Mouse
64+
# has it's own boot.py (this needs to be placed better)
65+
66+
#08.Sensors
67+
68+
#pyb.main('HC-SR04.py')
69+
1670

1771
#pyb.usb_mode('CDC+MSC') # act as a serial and a storage device
18-
#pyb.usb_mode('CDC+HID') # act as a serial device and a mouse
72+
#pyb.usb_mode('CDC+HID') # act as a serial device and a mouse

0 commit comments

Comments
 (0)