Hello everyone!
I appologized the late reply, my computer broke down, had to replace the hard drive. I appreciate to everyone who is helping me alot(specially joe). Anyway this is my updated code.
[CODE]
@ device pic16F628A, INTRC_OSC_NOCLKOUT, wdt_on, mclr_on, lvp_off
VRCON = 0 ' A/D Voltage reference disabled
PortA=0
TRISA=0
PortB = %00000000
TRISB = %11110000
Led1 var byte
myvar var word
begin:
high PortB.0
pause 100
low PortB.0
pause 100
high PortB.1
pause 100
low PortB.1
pause 100
high PortB.2
pause 100
low PortB.2
pause 100
goto begin
[\CODE]
Joe, I followed your intruction to disable the line in the16f628.inc file. No errors when compiled. But before I disabled it, I add the line on top, compiled with no error also.
thanks in advance,
mbox
Bookmarks