1 Attachment(s)
How to use Delay1s() function? C Prog
Hi! I have some queries on how to use this function, can't seem to find a solution anywhere!
So I'm using MPLAB and PIC18F4550 if these matters.
What I don't understand is the delay function, as given by my classmate and teacher.
So according to my friend's code,
he uses delay1s() , whereas the lecturer's notes uses delay1TCY.
Attachment 15756
Not in a good position to ask my friend hence, my question is,
how do i use the delay1s() function? example i want to change the delay to 5s or 10s, do i just change it to delay5s() or delay10s() respectively?
Thanks so much in advance! I am just a beginner in these! ><