connornishijima / arduino-volume1

Arduino tone() just got 8-bit volume control - with no extra components!
https://hackaday.io/project/11957-8-bit-component-less-volume-control-for-arduino
GNU General Public License v3.0
116 stars 26 forks source link

Modified to use Chip clock constant. Should work on 8MHz breadboard #3

Closed webmaster442 closed 8 years ago

webmaster442 commented 8 years ago

This solves the fixed 16Mhz only limitation. The Environment defines a constant named F_CPU which holds the CPU frequency.

connornishijima commented 8 years ago

Is it really that easy? Damn, thank you dude. :) This is my first library, and most I can refer to for learning are pretty massive.