I have moved my LED to RB0 and change my code, but not one of them are working now.
Am I missing something?
<code>
Include "Modedefs.bas"
DEFINE OSC 4 ' Set the Xtal frequency to 4mHz
LEDPin VaR PORTB.0
i var byte
Main:
for i = 1 to 10
High LEDPin
Pause 400
Low LEDPin
Pause 400
next i
end
</code>
Bookmarks