i wanna rotate servo motor from 0 to +90 & again +90 to 0 degree , i'v used atmega16 & used C code by- MikroC pro for AVRv5 & for simulation- Proteus 7.8sp2 , can anyone help me how the code will be?? my code is not working. how should i initializ PWM for servo?? . if i use steppper & servo for different task in same code ,should i write code normally ?? or something should be done in code for using 2 motors in same code??