kirkwoodwest
Member
Hi,
I'm trying to get the Teensy++ to work with the adafruit 128x32 i2c OLED. Basically, I'm trying to get the example app working and driving the OLED. But i'm failing...
At first I was trying to get it to compile and had problems. So I had to change the #define in the SSD1306 cpp file...
That was easy. Then next set of compile errors.
I found a fix for this here: http://playground.arduino.cc/OpenBSD/CLI . Not sure if that is even correct. but the thing compiles afterwards..
Ok. Then i've got the thing wired up like this..
When I upload the code nothing happens. Maybe I'm doing something wrong? my compile fix? wiring? teensy++ 2.0 doesn't support this? Any ideas?
I also have the same thread going on over at adafruit. (This one is just more consolidated with all the difference stuff I tried.)
http://forums.adafruit.com/viewtopic.php?f=47&t=49307
I'm trying to get the Teensy++ to work with the adafruit 128x32 i2c OLED. Basically, I'm trying to get the example app working and driving the OLED. But i'm failing...
At first I was trying to get it to compile and had problems. So I had to change the #define in the SSD1306 cpp file...
Code:
//#define SSD1306_128_64
#define SSD1306_128_32
That was easy. Then next set of compile errors.
Code:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.5 (Mac OS X), Board: "Teensy++ 2.0"
Adafruit_GFX/Adafruit_GFX.cpp.o:(.rodata._ZTV12Adafruit_GFX+0x8): undefined reference to `__cxa_pure_virtual'
I found a fix for this here: http://playground.arduino.cc/OpenBSD/CLI . Not sure if that is even correct. but the thing compiles afterwards..
Code:
extern "C" void __cxa_pure_virtual(void) {
while(1);
}
Ok. Then i've got the thing wired up like this..
When I upload the code nothing happens. Maybe I'm doing something wrong? my compile fix? wiring? teensy++ 2.0 doesn't support this? Any ideas?
I also have the same thread going on over at adafruit. (This one is just more consolidated with all the difference stuff I tried.)
http://forums.adafruit.com/viewtopic.php?f=47&t=49307