kalpana.aravind
Junior Member level 3
how to write code for creating delay using timers
Hi everyone.
I have recently got the job in embedded field.
i am very much confused about the programming microcontroller.
Please mail me some example code for creating the delay of 20msec.
If say delay is 20ms, can i use for loop to get delays in msec, if yes how should i write it?
which is the simple method to write the delay loops.
Anybody worked with CC1010 Chip?
In that how to configure the timer2 in PWM mode, how to set the duty cycle.
I need your suggestions and help.
Please forward me some example code for creating delay. suggest me some website where i can get example programs for 8051compatible microcontroller.
With Best Regards,
Kalpana
Hi everyone.
I have recently got the job in embedded field.
i am very much confused about the programming microcontroller.
Please mail me some example code for creating the delay of 20msec.
If say delay is 20ms, can i use for loop to get delays in msec, if yes how should i write it?
which is the simple method to write the delay loops.
Anybody worked with CC1010 Chip?
In that how to configure the timer2 in PWM mode, how to set the duty cycle.
I need your suggestions and help.
Please forward me some example code for creating delay. suggest me some website where i can get example programs for 8051compatible microcontroller.
With Best Regards,
Kalpana