Hello, I hope you don't mind me adding my question here, since it's a bit of a follow-up...
I'm also following the 50-dollar robot tutorial, I've already completed the board, which works fine (the code for centering the servos worked perfectly). I also modified the servos, and now I'd like to test them out with a PWM signal.
The problem is, I'm not sure how exactly to do that. I've been reading up on PWM but I'm not sure how exactly to use pins PD0 and/or PD1 as output for the PWM (since my 2 servos are hooked up to these 2 pins), as all of the tutorials I've come across use port B and the timer that it is associated with (if I understand correctly).
I realise this is somewhere in the final code for the 50 dollar robot, but I can't find it (still too new to all this).
Any help would be appreciated