led_on_and_off
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| led_on_and_off [2026/06/14 21:03] – [Introduction] walkeradmin | led_on_and_off [2026/06/17 16:39] (current) – walkeradmin | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | <code | download> | + | <code: |
| # 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: |
| # Import the picozero LED class | # Import the picozero LED class | ||
| from picozero import pico_led | from picozero import pico_led | ||
led_on_and_off.1781471019.txt.gz · Last modified: by walkeradmin
