wokwi/rp2040js

SSD1306 broken on micropython 1.20+

treysis opened this issue · 6 comments

Trying to interface the board-ssd1306 component via I2C gives the following error:

image

Setting micropython environment in diagram.json to below 1.20 works, e.g. micropython-20220618-v1.19.1. But since 1.20 it's broken (same problem with 1.21).

It does work with ESP32, though. So I suspect it is a problem with the Pico emulation.

urish commented

Thanks for reporting! Can you please share a link to a demo project that demonstrates the issue?

urish commented

Thanks, issue reproduced. Working on a solution.

For reference, here is a (generic?) ESP32 demo which works with 1.20+:
https://wokwi.com/projects/305568836183130690

urish commented

Thanks! Fix is up, can you please check?

Wow, that was lightning fast! Yes, it's working now. 👍 Thanks a lot!