To the OP:
I had no problems accessing the Expansion board OLED with the CircuitPython load for the XIAO XP2040 that djairjr made available. (Thank you very much!)
Downloaded and unzipped Adafruit_CircuitPython_Bundle-20211222.zip and loaded the following modules:
- adafruit_ssd1306.mpy2
- adafruit_framebuf.mpy
There are ssd1306 examples in that bundle. I made a slight mod to the ssd1306_framebuftest and got everything but text. Couldn’t figure where to put font5x8.bin and tell it how to find it. (I won’t bore you with a list of places that I tried.)
Maybe you can complete the task. I don’t really like CircuitPython for a number of reasons. Each board type needs a new build. And, mainly, there are conflicting complicated “tutorials” on the web and I lost patience before ever finding one that works to display text on this board.
Had absolutely no problems with MicroPython on this board, but that’s not what you are asking about.
TO djairjr: The link you posted doesn’t work for me
Regards,
Dave
CircuitPythonCode.zip (2.7 KB)