Hi all,
I have been using an i2c 128z64 oled succesfully with my teensy lc with the adafruit gfx drivers. However, I would like to utilize the u8g. I have set the correct address (it's 3c) but cannot get it to fire up ![]()
I've tried the rest function that aaronpbrooks mentioned earlier, so I added this in my setup:
// Setup reset pin direction (used by both SPI and I2C)
pinMode(A4, OUTPUT);
digitalWrite(A4, HIGH);
// VDD (3.3V) goes high at start, lets just chill for a ms
delay(1);
// bring reset low
digitalWrite(A4, LOW);
// wait 10ms
delay(10);
// bring out of reset
digitalWrite(A4, HIGH);
// turn on VCC (9V?)
I have SDA on A4, and SCL on A5, perhaps I need to set that somewhere in a config? The adafruit library works fine, but I find it on the slow side. I have also tried both config 2 and 3, which is mentioned earlier in this thread as well.
Thanks for any help!