button_controlled_led
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| button_controlled_led [2026/07/09 22:06] – [A Simple LED Button Project] walkeradmin | button_controlled_led [2026/07/09 23:48] (current) – [Introduction] walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Button Controlled LED ====== | ====== Button Controlled LED ====== | ||
| <color # | <color # | ||
| - | \\ | ||
| - | <color # | ||
| \\ | \\ | ||
| \\ | \\ | ||
| Line 12: | Line 10: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| \\ | \\ | ||
| - | I did not want to lead of talking about a simulator, if you have your Pico, have installed Thonny, have some basic parts, breadboard, LEDs, switches, wires etc, and you want to build something physical, please skip this section and come back to it later. | + | I did not want to lead by talking about a simulator, if you have your Pico, have installed Thonny, have some basic parts, breadboard, LEDs, switches, wires etc, and you want to build something physical, please skip this section and come back to it later. |
| \\ | \\ | ||
| \\ | \\ | ||
| Line 70: | Line 68: | ||
| {{ : | {{ : | ||
| \\ | \\ | ||
| - | While the resistor is selected, you can change its properties, just under the <color # | + | While the resistor is selected, you can change its properties, just under the <color # |
| \\ | \\ | ||
| \\ | \\ | ||
| Line 128: | Line 126: | ||
| Download the above code, and paste it in to the left hand window of the WokWi page. | Download the above code, and paste it in to the left hand window of the WokWi page. | ||
| - | |||
| \\ | \\ | ||
| + | \\ | ||
| + | You will see the code displayed in the WokWi application. | ||
| + | \\ | ||
| + | \\ | ||
| + | {{ : | ||
| + | \\ | ||
| + | To start the Micro Python code, click the <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | You will see the LED start to flash slowly. | ||
| + | \\ | ||
| + | \\ | ||
| + | {{ : | ||
| + | \\ | ||
| + | If you click the button with the mouse (or shortcut if you created one) then the LED will start to flash much faster. | ||
| + | \\ | ||
| + | \\ | ||
| + | ---- | ||
| + | Congratulations, | ||
| + | \\ | ||
| + | \\ | ||
| + | ---- | ||
button_controlled_led.1783634792.txt.gz · Last modified: by walkeradmin
