After 6 hours of messing around with PWM... I still can't figure out how to control different Servo's simultaneously.
I can rotate the servo using:
BUT that 1500 is not
1.5ms center... its all messed up, I was just different values there to get some logic out of it.. but !!!!!!! nevermind...
I really need to see some sample Code for example a Biped? or Robotic Arm? using PWM etc to control the Servos.
Sheesh, why is it so complicated
...why not "THIS CODE" for this "microcontroller and servo"
(im using Axon Microcontroller (16MHz) and using HS-422 Servo)
Thanks a lot in advance
EDIT: Also, pls let me know, when to use delay_cycles(); and delay_ms(); ?...what exactly is delay_cycles?