Irev-Dev / Arduino-Atmel-sPWM

Implementation of an sPWM signal
152 stars 78 forks source link

No Output at Mega2560 #7

Open PyroRider opened 4 years ago

PyroRider commented 4 years ago

Uploaded given code, no output at all at Pins 51/52 (Pb1/Pb2)

SathvikHegde commented 3 years ago

change the last line in the code from DDRB = ........ TO pinMode(11,OUTPUT); pinMode(12,OUTPUT); And try on pin 11 and 12