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:*
Workaround before the Great Cow Basic v0.95 September 2015 or later is to manually add SPBRG just before SPBRGL and use the SPBRGL address. An example is shown below;
add to your program
~~~~
#define SPBRG SPBRGL
~~~~
Last edit: Anobium 2015-10-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
See following thread
This is affecting:
16f1454.dat
16f1455.dat
16f1458.dat
16f1459.dat
16f1508.dat
16f1509.dat
Resolved, see below.
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:*
Workaround before the Great Cow Basic v0.95 September 2015 or later is to manually add SPBRG just before SPBRGL and use the SPBRGL address. An example is shown below;
add to your program
~~~~
#define SPBRG SPBRGL
~~~~
Last edit: Anobium 2015-10-03
Resolved in USART.H in Great Cow Basic v0.95 September 2015. No need to add workaround to your programs.