TryBit:
HiI want to connect two speakers (left speaker & right speaker), I know the specs says connect pin9 & 10 to speaker wires. The speakers will not play at the same time, only one or the other. I am using UNO, how to achieve 2 speakers connection?
FYI, I know I can make a control switch circuit to switch between left and right speakers. But I'd rather not do that if there is a way to connect two separate speakers. Again only one speaker will be active at one time.
Thanks in advance
toneAC must use the pins assigned to the timer. The pin 9 & 10 requirement is a limitation of the microcontroller, not the library. However, I do have a toneAC2 library which uses timer 2 and you can assign it to any other 2 pins. So, you need to use both toneAC for one speaker (pins 9 & 10) and toneAC2 for the other speaker, which you can assign to any other two pins.
toneAC2: teckel12 / Arduino toneAC2 / wiki / Home — Bitbucket
Tim