How to drive a speaker from all possible conditions from the Arduboy.
Some games have differential signaling. Others just use simple pwm on one or the other pins, and and some use PWM on both.
How to account for all these situations?
If not for the differential signaling method, you could do something simple like this:
But a differential signal would cancel itself out, which is the problem I’m trying to fix now.
Actually, maybe the solution is to simply invert one of the pins…
Because the PWM signaling methods won’t be effected by this?
Will this work and if so does anyone have a clue for a part number of op-amp to use like this?