C and delay function

Post your requests and ideas on the future development of mikroC PRO for 8051.
Post Reply
Author
Message
gogo
Posts: 1
Joined: 16 Feb 2011 19:34

C and delay function

#1 Post by gogo » 26 Jan 2018 15:17

Good day!

I'm new in C. I have BIG8051 board.
My question is:
How I created and calculated delay (us, ms) function in c for mcu c8051f040?

Thanks!
best regards
gogo

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: C and delay function

#2 Post by filip » 30 Jan 2018 16:38

Hi,

There are integrated Delay_us and Delay_ms function that accept the desired delay as a parameter,
please search for these functions in the Help file of the compiler.

Regards,
Filip.

Post Reply

Return to “mikroC PRO for 8051 Wish List”