i have a code in (PIC16F877A) i made a delay for one sec and i need to make a traffic light so the delay between each of them is deferent so for example for red i need delay 5 sec but i do not want to call delay five time like this ,call delay,call delay,call delay,call delay, what is the best way to make 5 sec delay in this situation .
Moderators note : changed font size, as large fonts are like screaming.
Moderators note : changed font size, as large fonts are like screaming.