Or you can right shift the ADC result 3 times to divide it by 8, then you have 32 values.
That's what I am required to do Sir...can change that!Why are you going to play buzzing frequencies through a tiny speaker?
Oh, I didn't know it is a useless project for school work.That's what I am required to do!
LOL...Oh, I didn't know it is a useless project for school work.
Why doesn't your teacher have a useful project?
Thanks for your comment!Hello,
Perhaps you can make a lookup table for the tones.
The ADC value can be "translated" to the delay needed to create the correct tone.
Bertus
by Aaron Carman
by Duane Benson
by Aaron Carman
by Robert Keim