This looks like it'll work well, thank you! I missed something else yesterday. I looked the ToneAC page over again today, and it seems like ToneAC2 could work too.
ToneAC didn't look adaptable because it needs a 16-bit timer. The ATTiny85 only has 8-bit timers, 0 and 1, so I'd have to modify ToneAC2, but the library works with an 8-bit timer, so maybe. If I'm successful, I'll post back.
Thank you!
I'm still interested in why my code doesn't work. As I said yesterday, I'm just messing around, so it isn't to important, but I am still curious.
Questions are a burden to others; answers a prison for oneself.
Village Motto, "The Prisoner"
![]()