Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling #2

Open
alidaf opened this issue Oct 6, 2016 · 1 comment
Open

Error compiling #2

alidaf opened this issue Oct 6, 2016 · 1 comment

Comments

@alidaf
Copy link

alidaf commented Oct 6, 2016

I'm debating whether to port my driver across to Arduino from rPi, or use an existing library. I've tried yours but I can't get it to compile....

Any thoughts?

Build options changed, rebuilding all
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp: In member function 'void ESP8266_SSD1322::ssd1322_dataBytes(uint8_t_, uint32_t)':
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp:365:7: error: 'class SPIClass' has no member named 'writeBytes'
SPI.writeBytes(buf, size);
^
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp: In member function 'int ESP8266_SSD1322::drawUnicode(unsigned int, int, int, int)':
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp:1123:4: error: 'int8' was not declared in this scope
int8 gap = 0;
^
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp:1138:6: error: 'gap' was not declared in this scope
gap = 1;
^
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp:1198:31: error: 'gap' was not declared in this scope
drawFastHLine(x, pY, width+gap, textbgcolor);
^
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp:1202:27: error: 'gap' was not declared in this scope
fillRect(x, pY, (width+gap)_textsize, textsize, textbgcolor);
^
/home/alidaf/Arduino/libraries/ESP8266_SSD1322-master/ESP8266_SSD1322.cpp:1239:16: error: 'gap' was not declared in this scope
return (width+gap)*textsize; // x +
^

@nikeee
Copy link

nikeee commented Jun 22, 2020

Make sure you use Adafruit GFX [email protected]. This fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants