Tag Archives: ATmega328P

H-bridge control example for Arduino Nano (ATmega328) – two phase-displaced square waves

This is the code: Example Output In the following oscilloscope screenshots, channel 1 (yellow) displays the signal from OC2 (pin D11) and channel 2 (blue) displays the signal from OC2B (pin D3). This is the output when OC2RB = 49, … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , | 3 Comments