I'm trying to get my Oled screens working but no luck!
I have two different one big (1.3) and one small (0.96) Oled, links the the screens at the bottom.
The big one exactly the same as Adafruit's works whit Adafruit library, it is only to upload the graphics test and works, wired on A4 and A5.
The small One works on the u8glib library and whit this constructor U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NO_ACK); wired on A4 and A5. using u8glib graphics test.
Both one are using I2C but i can't change the screens between the two arduinos ! >:(
The only difference is that i am using two different arduinos one Pro Micro and one Uno.
It is also two different colors on the screens the big one is white and the small is blue.
Answering in the other thread Oliver.
(If someone search and finds this thread in the future)
But i have tried that one now and getting error code.
GraphicsTest.ino: In function 'void setup()':
GraphicsTest.ino:196:3: error: 'I2C_SLA' was not declared in this scope
GraphicsTest.ino:197:3: error: 'u8g1' was not declared in this scope
Fel vid kompilering.
Hello Jack!
No i have two Arduinos and two screens, both are 128x64 oled, but different sizes, 1.3 and .96.
I have one big breadboard putted the two screens on it and driving each screens from each arduino.
But when i am trying to switch the screens from each arduino it's not working.
The small screen is hooked up like this > A4 to Sda, A5 to Scl and works whit u8g graphics test.
The big one is hooked up like this > A4 to Data,A5 to Clk and it works whit Adafruits grapics test.
Live long!
Edit : yes i am changing the wiring to fit the different pin layouts of each screen. (the pins are mirrored and the big one has 4pin gap between power ground and the data pins
Ok, so you are switching wires to change the screens (I2C) between two different arduinos.
Both screens work if hooked to arduino A and B. But when you try to switch them they don't work.
The two arduinos are not connected together.
Are you also switching the power rails?
Do both displays have the same I2C address?
Have you added the pullup resistors to the wire? How long is the wire? less than 3 meters should be ok.