Issue: the simple following serial demo program compiles without error but is not working:
; Basic testing of serial
#chip 16F1509, 8
'Config UART
#define USART_BLOCKING true
#define USART_BAUD_RATE 19200
' Define serial port addresses
#define SerInPort PORTB.5 ' RX
#define SerOutPort PORTB.7 ' TX
wait 1 s
HSerPrint "Hello GCB World !"
Reason: the SPBRGL and SPBRGH variables are defined in the [registers] section of the *.dat files but not SPBRG which should point to the same address as SPBRGL.
In the 0.94 version these are the dat files in which SPBRGL is defined but not SPBRG:
Issue: the simple following serial demo program compiles without error but is not working:
Reason: the SPBRGL and SPBRGH variables are defined in the [registers] section of the *.dat files but not SPBRG which should point to the same address as SPBRGL.
In the 0.94 version these are the dat files in which SPBRGL is defined but not SPBRG:
A ticket has been opened in the bug tracker.
Jacques
Last edit: Jacques Nilo 2015-05-28