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

Porting to other AVR-based Arduino boards (Mega & Micro, based on Atmega2560 and Atmega32u4) and ARM-based Arduino boards (Zero & MKR1000, both based in Cortex-M3) #4

Closed q2dg closed 8 years ago

q2dg commented 8 years ago

Could be it possible? Thanks!!

connornishijima commented 8 years ago

Though it doesn't work yet for Mega (Troubleshooting this today) I've gotten it to work with an ATMEGA32u4 by having it use pins 9 and 10 instead. This is because Timer0 is tied to these pins on that IC.

connornishijima commented 8 years ago

I've just added direct support for 2560 and 32u4 in version 1.1.0! :) DETAILS HERE

However, I don't actually own any of the ARM 'duino's, so I can't test them myself at this time. Currently working on ATtiny*5 support now. :)