Oled serial slelect

stan74

Senior Member
Hi. I bought some 128x64 oleds and 1 has missing resistors to short and changes the display from serial to 1c2 but I can't seem to find info. I couldn't post camera images even though they were 700k jpeg so these are from a site which tantalisingly didn't explain it. Maybe some one here has used one. The info on the pcb isn't clear to me.


ssd1306a.jpgssd13006_back.jpg
 

techElder

Well-known member
Looks like put resistors at position 1, 4, 6, 7, 8 for I2c (IIC). Use the resistor at 3. Looks like you need one more resistor.

I'm guessing.
 

stan74

Senior Member
Ta Tex,I was guessing a)-Short the missing resistor/s b)-Short all resistors. c)-See if it works spi as is but more wires. I heard spi was faster than i2c but would I notice on a lcd? The proper adafruit one is obvious but 4 times the price.
 

stan74

Senior Member
I got it working 4 wire spi,the default.Didn't realize the last one I bought was blue,this is white,think I preferred the blue :) What's this in picaxe? I mean do I hserout ,write? I got the reset understood and ser addr. Look for lcd examples?
'Defines for a 7 pin SPI module
'RES pin is pulsed low in glcd_SSD1306.h for proper startup
#define MOSI_SSD1306 PortB.1 ; this is D0 on lcd
#define SCK_SSD1306 PortB.2 ;this is D1 on lcd
#define DC_SSD1306 PortB.3
#define CS_SSD1306 PortB.4
#define RES_SSD1306 PortB.5
Where is my universal translator?
 
Top