I am using PICBasic Pro Compiler but when I try to use the line serin or serout it gives me errors when I compile. The error I get is: Bad Expression.
The code I am using is:
B0 var byte
Main:
B0=25
serout PORTA.3, N2400, [#B0,13]
Loop: gotoLoop
End
I am using PICBasic Pro Compiler but when I try to use the line serin or serout it gives me errors when I compile. The error I get is: Bad Expression.
The code I am using is:
B0 var byte
Main:
B0=25
serout PORTA.3, N2400, [#B0,13]
Loop: gotoLoop
End
where's the definition of N2400????
INCLUDE "Modedefs.bas"
or better
N2400 CON 4
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Great Heading !
PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2
Bookmarks