HOME
5t4nd1ng @ th3 3dg3 0f 5p3ct4t10n!
Give a child a toy and they're happy for an hour.
|
Here we are toggling a bit port ... one pin on the MCU chip/module and the frequencey we toggle that pin is how we create tones in the speaker.
A math assignment might be calculating how many toggles/cycles of the PIN it takes for each note of the scale.
With a Frequency Counter or Oscilloscope you can see the exact output!
|