lexus2k / ssd1306

Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
MIT License
662 stars 127 forks source link

How to use this in Linux running non single board computer (laptop's i2c port) #144

Open putraadr opened 2 years ago

putraadr commented 2 years ago

I'm confused, how do i use this on my linux computer. I connect my ssd1306 128x64 display to my laptop's DDC/I2C port, it listed on "i2cdetect -y 2" at address 0x3C bus 2. but how do I change the default bus to my computer's i2c bus? (bus 2) This is how i set up my display:

DSC_1729

lexus2k commented 2 years ago

Hi,

How do you try initialize the display? Could you please provide the code lines with display constructor?