Hi guys
I am using FRDM-KE02Z board. I wanna ask how do i create delays in FRDM-KE02Z without using interrupts.
for example if i want 1uS delay, 5mS delay, 1Sec delay etc. How do i write a function for that?
suppose i want to toggle an LED with a rate of 30mS then how i generate this 30mS delay?
Thanks and best regards
Abdul hayee
Hi Abdul hayee,
You can refer the function posted by Erich.
This is related to the frequency of Core, so you need to know the configuration of ICS module.
Best Regards,
Robin
Have a look at the Wait component of the McuOnEclipse project:
McuOnEclipseLibrary/McuWait.c at master · ErichStyger/McuOnEclipseLibrary · GitHub
I hope this helps,
Erich