Humour ...
Hi,
Just a little innocent question ...
Does your program compile ???
Code:
CMCON=7
ul var GPIO.0 'Define GPIO.0 pin as ul
izl VAR GPIO.2 'Define GPIO.2 pin as izl
High izl
Input ul
loop:
if ul=1 then
pause 3000
low izl
end if ... sure about the spelling ???
goto loop
You sure ??? just a Typo, I wonder ...
Now, connecting GPIO.0 to +5v would have been so simpler to find there were NO problem in your code ...
Do not tell us you have two separate 5v supplies ...
Alain
Last edited by Acetronics2; - 28th July 2008 at 10:40.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks