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

library messes with millis() function #14

Open Imploded opened 3 years ago

Imploded commented 3 years ago

this library completely changes the millis() function, when all volume.[command] lines are commented out, millis() works fine, but when they are in use, I have to write a 300000 (which would be 300 seconds) millis delay in order for it to wait 5 seconds (not a typo)

rbgorbet commented 3 years ago

It seems to me this is documented and expected. See here and use vol.millis() instead, I believe.