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/14 21:02] – [Introduction] walkeradminled_on_and_off [2026/06/17 16:39] (current) walkeradmin
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.1781470930.txt.gz · Last modified: by walkeradmin