Open guelz opened 7 years ago
I think I have the same problem to compilation like I write here: https://www.rcgroups.com/forums/showthread.php?2477752-DIY-Diversity-Receiver-rx5808-pro-diversity/page122
In file included from C:\Users\Darius\Desktop\rx5808-pro-diversity-develop\src\rx5808-pro-diversity\rx5808-pro-diversity.ino:38:0:
settings_internal.h:56: error: 'Adafruit_SH1106' does not name a type
^
sketch\ui.h:23:12: note: in expansion of macro 'OLED_CLASS'
extern OLED_CLASS display;
^
exit status 1 'Adafruit_SH1106' does not name a type
That error is due to the fact it doesn't load the SH1106 header file. Add the following to the ui.h file, could be just bellow the include for the SSD1306 OLED.
Remember that you'll need to manually add the SH1106 Adafruit library to your arduino instalation.
I can send a simple pull request to fix it.
Pull request added
trying to compile with SH1106 OLED enabled I keep getting this error:
Does someone know how to set that "type"? I'm still pretty noobish!