Search Engine

Delay Function Timer Pic C

Add Question

3 Threads found on 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 (...)
To genarate pulse for servo, need PWM at 50Hz. pic16 can't use PWM module. Use delay function also, not good for many servo. Other way, you can generate PWM using timer Interrupt. See example servo. or You can use Servo Controller that use UART to set servo position like this product, [URL="ht
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) Best Regards.