using 16F1947
PBP2.6A
MPLAB 8.53
and heres the big code:
Code:
INCLUDE "MODEDEFS.BAS"
DEFINE HSER2_RCSTA 90H
DEFINE HSER2_TXSTA 20H
DEFINE HSER2_BAUD 2400
DEFINE HSER2_CLROERR 1
LED0 = 0
START:
HSERIN2 [WAIT("S"),SPEED]
LED0 = 1
HSEROUT2 [SPEED]
'HESRIN2 [WAIT("G")]
GOTO START
Heres the errors:
Code:
ERROR: Macro HSERIN2WAIT?CL not found in macro file.
ERROR: Macro HSERIN2?B not found in macro file.
ERROR: Macro HSEROUT2?B not found in macro file.
edit: forgot to mention if I take out the "2's" as if using EUSART1, it will compile as is
Bookmarks