User Tools

Site Tools


led_on_and_off

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
led_on_and_off [2026/06/12 22:49] walkeradminled_on_and_off [2026/06/17 16:39] (current) walkeradmin
Line 10: Line 10:
 \\  \\ 
 \\  \\ 
-{{ :raspberry-pi-pico_-_led.png?300 |}}+{{ :raspberry-pi-pico_-_led.png?200 |}}
 \\  \\ 
 In the above picture we can see where the LED is. Once powered on the LED by default will be off, and we will need to use some micro python to turn it on. In the above picture we can see where the LED is. Once powered on the LED by default will be off, and we will need to use some micro python to turn it on.
Line 18: Line 18:
 \\  \\ 
 \\  \\ 
-{{ :thonny-led-on.png?800 |}}+{{ :thonny-led-on.png?650 |}}
 \\  \\ 
 Here we can see the code that we need to enter in to Thonny. Here we can see the code that we need to enter in to Thonny.
 \\  \\ 
 \\  \\ 
-<code | download>+<code:python | download>
 # Import the picozero LED class # Import the picozero LED class
 from picozero import pico_led from picozero import pico_led
Line 64: Line 64:
 Now that you have turned the LED on, you might want to turn it off, and the program is almost the same except for the argument for the pico_led line. Now that you have turned the LED on, you might want to turn it off, and the program is almost the same except for the argument for the pico_led line.
 \\  \\ 
-<code | download>+<code:python | download>
 # Import the picozero LED class # Import the picozero LED class
 from picozero import pico_led from picozero import pico_led
led_on_and_off.1781304557.txt.gz · Last modified: by walkeradmin