SixSixSevenSeven 23 Posted August 28, 2014 Share Posted August 28, 2014 Within energia is it possible to change the i2c communication frequency? With a tiny bit of modification I managed to get the Adafruit_SSD1306 library to compile for Energia. Namely I commented out a big block of SPI stuff that I wasn't using(although really I should get that fixed) and more importantly 2 additional snippets of code. One of the blocks seemed to make a backup of what the current i2c frequency is before setting the AVR to run at 400khz fast i2c, the other then restored the backup once it was done. With these removed I have my little OLED display functioning over i2c however it is at the basic 100khz i2c frequency and it takes quite some time to copy the frame buffer from microcontroller to oled. Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.