Now that I look at the data sheet I see GPIO.4 is analog.
So add
ANSEL = 0
Near the beginning of your code. That will make all pins digital.
Other than that I do not see a problem.
How...
Type: Posts; User: mackrackit; Keyword(s):
Now that I look at the data sheet I see GPIO.4 is analog.
So add
ANSEL = 0
Near the beginning of your code. That will make all pins digital.
Other than that I do not see a problem.
How...
Try
HIGH GPIO.5
PAUSE 1000
LOW GPIO.5
PAUSE 1000