News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

ssd1306 wrong address?

Started by Yves, Aug 22, 2023, 05:13 AM

Previous topic - Next topic

Yves

Hello Picters,

I have a SSD1306 1 inch display looking at the back it indicate I2C address of 0x78  I kept trying to have it working in vain and before I decided to crush it with a sledge hammer I tried some different addresses and it lit up at 0x3C even though at the back it shows clearly that it is 0x78???. How is it possible?

cheers,

Yvesssd1306.jpg
Yves

david

Hex 3C = Binary 111100
Add the Write bit and you get Binary 1111000 which equals Hex 78

I always use the following as I have been tripped up also-
Symbol OLED_W= %1111000  'OLED address and write
Symbol OLED_R= %1111001  'OLED address and read 

Cheers,
David