Closed tonym128 closed 5 years ago
Sorry for the late reply. Besides an error. The code is a bit hacky. I was interested in adding hardware I2C option as a safe option for testing. But the display froze after a while when a lot of pixels where on even at 400Kbps (most likely due to noise generated by the OLED display) So no good for a safe testing option. I'll add my bitbanging I2C option soon.
No worries, I thought the code was a bit hacky and wanted to gauge your interest before I put more effort in. I managed to play through Circuit Dude and Arduventure using it, but if you're adding I2C screens as a feature, that is awesome enough to have brought it to your attention as a possibility.
I grabbed some code from another fork and tried to integrate only the I2C SSD1306 display, it's working great for a bunch of games I'm compiling.
I was wondering if you wanted to take a look, see if it's worth adding ?
Would you like to integrate this ?
Original additional code for i2c found here - https://github.com/harbaum/Arduboy2
You just hook up the SSD1306 to the i2c pins on your boards Which was 2 and 3 on my Sparkfun Pro Micro, ground and VCC