i am currently using PIC18F4550 chips with 1Mhz internal clock.How can i calculate the actual time with delay function?
There is a exmaple on the web but i didn't understand it
Delay100TCYx(30) with 8MHz clock -> 8MHz clock = 2MHz instruction clock = 500ns
500ns * 100 * 30 = 1.5us which is the actual time
For my calculation, 1MHz have 1MHz/4 = 250 000 instruction cycle but how to calculate the next step to get the actual time?