kaluma-project / kaluma

A tiny JavaScript runtime for RP2040 (Raspberry Pi Pico)
https://kalumajs.org
Apache License 2.0
648 stars 37 forks source link

Adding SH1107 support #636

Open ricardomatias opened 10 months ago

ricardomatias commented 10 months ago

I've forked the code for the SSD1306 over at github.com/niklauslee/ssd1306 and I'm trying to adapt it to a SH1107 driver. I've added the initialization commands, but whilst they are being sent I get a "Device Write Error". The code used is in example/ex_i2c_128x64.js. Perhaps someone could take a look at it and see why this might be the case. I've based my changes on this code from Adafruit.