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

'lcdhello.ino' sketch compile errors with Arduino IDE #5

Open
dweston opened this issue Feb 27, 2014 · 0 comments
Open

'lcdhello.ino' sketch compile errors with Arduino IDE #5

dweston opened this issue Feb 27, 2014 · 0 comments

Comments

@dweston
Copy link

dweston commented Feb 27, 2014

When attempting to test the “lcdhello.ino” sketch included with the MultiLCD library I encounter compile errors until I add the following include line:

include <SPI.h>

I’m using the Microduino-Core processor card in conjunction with a Microduino modified Arduino IDE 1.0.5 on an Apple MacBook Pro.

After adding 'SPI.h' the library appears to be fully functional.

I presume the SPI library is required due to the SSD1306 I2C interface but if so why was this necessary given the SSD1306 hardware was specifically asserted in the sketch?

LCD_SSD1306 lcd; /* for SSD1306 OLED module */

Please note this problem only applies to the MultiLCD library. Test the “lcdhello.ino” sketch included with the MiniCD library gave no compile errors despite the absence of the SPI library.

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

1 participant