Search the Community
Showing results for tags 'delay'.
-
Hi Can some please explain me the logic behind these functions. I know it uses the CLOCK_FREQ value, but what is the code behind it? void delay_us( unsigned char t ) void delay_ms( unsigned char t ) void delay_s( unsigned char t ) many thanks John
- 2 replies
-
- delay
- CLOCK_FREQ
-
(and 1 more)
Tagged with:
-
Hi guys, how come that if I change the clock rate in the SourceBoost IDE simulator and then run the code with some delay_ms() functions, the "ticks counter" in the bottom of the screen still gives me the same number? For example I've got delay_ms(40) and I still get cca 156k ticks after that no matter how big the clock rate is... could you give me a hint why is that so? Thanks so much, midin
- 4 replies
-
- clock rate
- delay
-
(and 3 more)
Tagged with: