Volhout Guru
 Joined: 05/03/2018 Location: NetherlandsPosts: 2745 |
Posted: 09:20am 11 Dec 2022 |
|
|
|
The first chapter was a bit of dry because we needed to cover quite some ground. Next chapters will be smaller and contain less information. Will be more focusing on practice. So you will need a picomite, a breadboard of some kind (wires) and basic IO elements, such as some leds, a buzzer/piezo/speaker, resistors and switches.
Speaking of buzzers. If you run previous exercise, connect a piezo/buzzer in stead of the LED to GP0, and experience the tone (666Hz).
As to Grogster: don't be shy... the PIO code is loaded into RAM (program memory of the PIO), and will not damage your pico in any way. Just unplug and all is gone.
The program in the first post will be used as a template for further exercises, each time modifying it a bit.
For this who want to challenge themselves: try if you can get the same 666Hz tone out of pin GP2. Hint: you do not need to change the PIO program for that, just the configuration. In next chapter the solution will be given...
Volhout Edited 2022-12-11 19:25 by Volhout |