MrBlinky / Arduboy-homemade-package

Arduino IDE board package for Arduboy and homemade versions making things easy
Creative Commons Zero v1.0 Universal
109 stars 31 forks source link

Support for SSD1306 in I2C #3

Closed tonym128 closed 5 years ago

tonym128 commented 5 years ago

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

MrBlinky commented 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.

tonym128 commented 5 years ago

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.