Page 1 of 1

C and delay function

Posted: 26 Jan 2018 15:17
by gogo
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

Re: C and delay function

Posted: 30 Jan 2018 16:38
by filip
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.