Hello,
I'm having problems compiling code for an Embedded Adventures PLT1001 LED driver board.
I'm using their example code for driving an Embedded Adventrues LDP8008 LED matrix through the PLT1001. The library was downloaded from their GitHub depository, here.
As you can see, there are errors in compilation but despite trying various approaches to try to solve the issue, I'm getting nowhere.
I apologise for posting the whole compilation error text but I do so in the hope it will be of some use.
If anyone can help, I will be very grateful for your time.
Thank you,
M.
Compiler Dialog
Arduino: 1.6.11 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001_ldp8008_test\PLT1001_ldp8008_test.ino: In function 'void loop()':
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001_ldp8008_test\PLT1001_ldp8008_test.ino:56:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
demo_text("EA plt1001");
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001_ldp8008_test\PLT1001_ldp8008_test.ino:61:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
plt1001.scroll(3, 0, 7, 80, "This is a demonstration of scrolling");
^
In file included from C:\Users\Mark\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:45:0:
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.h:43:18: warning: extra tokens at end of #ifndef directive
#ifndef __PLT1001-I2C_h
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.h:44:18: warning: ISO C99 requires whitespace after the macro name
#define __PLT1001-I2C_h
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp: In member function 'char* PLT1001v2Class::board()':
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:83:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP8008";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:86:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP6416";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:89:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP6432";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:92:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP6408";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:95:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP6432-RED";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:98:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP3208-S";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:101:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP3216-S";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:104:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "LDP080507-R";
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp: At global scope:
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:482:97: error: no 'void PLT1001v2Class::scrollVertical(unsigned char, unsigned int, unsigned int, unsigned int, unsigned int, char*)' member function declared in class 'PLT1001v2Class'
void PLT1001v2Class::scrollVertical(uns8 color, uns16 x, uns16 y, uns16 wd, uns16 ht, char* text) {
^
C:\Users\Moi\Documents\Arduino\libraries\PLT1001-master\PLT1001-I2C.cpp:503:95: error: no 'void PLT1001v2Class::scrollColumn(unsigned char, unsigned int, unsigned int, unsigned int, unsigned int, char*)' member function declared in class 'PLT1001v2Class'
void PLT1001v2Class::scrollColumn(uns8 color, uns16 x, uns16 y, uns16 wd, uns16 ht, char* text) {
^
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.