News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Symbol not previously defined

Started by N Gilmore, Mar 29, 2021, 03:18 AM

Previous topic - Next topic

N Gilmore

With version 3.7.5.5 and using a display os system SSD1306 that I got from the proton site I get the following errors when compiling
Symbol not previously defined (_PRINT_)
Symbol not previously defined (_GLCD-CURSOR_)

If I use an older version it compiles ok, can anyone help please

TimB


Go through the file or use search/replace to change any keyword like "_PRINT_" to "__PRINT_"




Dompie

...or download the newest version of the SSD1306 library from the download area ( here)

Johan

Yves

Quote from: Dompie on Mar 29, 2021, 08:17 AM...or download the newest version of the SSD1306 library from the download area ( here)

Johan
Hello Johan,
Please can you explain: Is the "SSD1306_BB_Sub_v1.11.inc" is replacing the "SSD1306_Sub_v1.10.inc"? I have tried that with Positron 4.0.0.6-1.1.0.3. and it still getting errors with __print and __GLCD_Cursor. Shall I replace all the drivers, and which version is now compatible? Thank you.

Cheers,

Yves

Yves

RayEllam

_BB_ is a software bit banging version of the original code.

Dompie

Hi Yves,
I have been in contact with RayEllam and will integrate his version with the I2C BUS commands into my version which uses only the HBUS commands.
As RayEllam said the BB version is for the software (BitBang) I2C commands from Positron (BUS) and not for the hardware I2C commands (HBUS).

Johan

Yves

Hello Johan,

Can you please let me know where I can Change the SDA and SCL for I2C protocol in your demo version "Graphic&SSD1306_20201101". and also to change the chip address my one is $3D. Thank you

Regards,

Yves
Yves

Dompie

Yves, the library works with HBUS and uses the hardware SDA and SCL that are defined.
As for changing the address in $3D from $3C, you've already done that yourself, as shown in this link from April 21, 2021. There is also the info on how to do it.

Johan