Partner Activity - Discernment
Here’s where we might play a bit with the analog sensors. Load up the
analog-input sketch from the Examples folder, and wire your LDR across AGND and A9 as shown:
…in this sketch, each time you press the encoder pushbutton, you’ll “sample” the current LDR value and map it to a frequency. This is an intentionally broad sketch, and it wants you to customize it! Maybe make a “change” detector, or alter the code to update the frequency regularly, or even map different light ranges to different waveforms, instead of (or in addition to) frequencies.
When you’ve got something you like, grab another workshop participant, or one of th facilitators, and see if we can discern the mappings you’ve implemented.