Hi,
I'm currently trying to control a small motor using PWM.
The problem I'm having is getting my signal out. Here's what I'm working with:
DDRB = 0xFF;
TCCR0A = (0<<FOC0A) | (0<<WGM01) | (1<<WGM00) | (1<<CS02) | (1<<CS00); // Set PWM Phase Correct Mode with CLK/1024 prescaler
OCR0A = 50; // just chose a random value
How do I get this wave out to PORTB?
Thanks,
Jason