atomvm / atomvm_ssd1306

AtomVM driver for SSD1306 displays
Apache License 2.0
1 stars 1 forks source link

Failed to show the text on the screen #4

Open ngomandat234 opened 4 months ago

ngomandat234 commented 4 months ago

Hi @fadushin,

Sorry for bothering you,

Now, I have some issues with the SSD1306 128x64. I checked the monitor and it worked as the picture below. image But it did not show up on the screen Then I changed to use other SSD1306 128x32. It worked and also showed up on the screen but it just showed a half due to number of points displayed of hardware.

I am afraid that the issue came from the hardware so I checked with the code C by using Arduino but it worked well and also showed up on the screen on both SSD1306 128x64 and SSD1306 128x32.

I would appreciate it if you could help me check for this case? And if you need more information, I will collect and give it to you.

Thanks!

UncleGrumpy commented 3 months ago

Can you confirm the device address of the SSD1306 128x64 is the same as the 128x32 SSD1306? It may be possible your 128x64 version is using an alternate address. Could you try using an I2C bus scanner with each of the devices attached and post the output here?

For ESP-IDF:

https://github.com/UncleRus/esp-idf-i2cscan

Or an Arduino sketch like this example:

https://randomnerdtutorials.com/esp32-i2c-scanner-arduino/