Thanks Demon
I found out the same issue solved on this forum.
Here is the thread.
http://www.picbasic.co.uk/forum/showthread.php?t=3277
I set the ADCON1 = %0011111 to set digital signal and it works perfectly fine now.
I am using a 4MHZ crystal and when i program i select XT. Do we have to change something in the software to fix it ?
If i use the value PAUSE 20 it is close to 20 Seconds![]()
Bookmarks