Milestag, sir
I Just add this line but not work
DEFINE LOADER_USED 1
pic 16f877a complier with microcode studio plus 2.2.10
After download with "Tinybldwin191 into microcontroler "WARNING: PCLATH not initialised before GOTO! ... could not repair.,
How to fixed it
here is my code:
define loader_used 1
Define OSC 20
TRISB = 0 'rb0 =output
TRISB.1 = 0
Include "modedefs.bas"
loop: Serout PORTC.6,T9600,["Hello",10,13] ' Display "Hello", next line
pause 500 ' Wait .5 second
high portb.1
Serout PORTC.6,T9600,["World",10,13,10,13] ' Display "World", skip a line
paUSE 500 ' Wait .5 second
low portb.1
Goto loop ' Do it forever
End
Bookmarks