Got it working, added INTCON=7. changed input to PULSIN. Everyting is working well.
OOPS should be INTCON=0 not INTCON=7.
Got it working, added INTCON=7. changed input to PULSIN. Everyting is working well.
OOPS should be INTCON=0 not INTCON=7.
I'm not seeing where the INTCON or the PULSIN statements should make a difference...
And if you look back at your first post:
Why would the internal pull UP work as expected to keep the input LOW?Simple code to work with. I am using GPIO.5 as input as digital. The LED still blinks from GPIO.2. The internal pull up dont work as expected to keep input low. Am I missing something?
Err, OK, but INTCON is already zero, by default, at power-up. Not sure where PULSIN fits into the grand scheme, but at least you got it working...;o}OOPS should be INTCON=0 not INTCON=7.
Bookmarks