Search Engine www.edaboard.com
3 Threads found on edaboard.com: Delay Function Timer Pic C
If you aren't going to be doing anything during that long period, you can use software delay, using the delay_ms() function and for loop.
If you are going to be doing something during that period, you need to use timer as Oyvind has said.
I don't know which pic you'll be using. But you can use (...)
Microcontrollers :: 06-10-2012 12:24 :: Tahmid :: Replies: 11 :: Views: 1240
To genarate pulse for servo, need PWM at 50Hz. pic16 can't use PWM module.
Use delay function also, not good for many servo.
you can generate PWM using timer Interrupt. See example servo.
You can use Servo Controller that use UART to set servo position like this product, [URL="ht
Microcontrollers :: 10-19-2011 18:37 :: engshahrul :: Replies: 20 :: Views: 5261
Hi. pic12F629 works from 2.0V to 5.5V. You can use delay function of C compiler or timer(if you want precise pulse with)
Microcontrollers :: 07-19-2005 08:45 :: petarpav :: Replies: 12 :: Views: 1536