Jump to content


  • Content Count

  • Joined

  • Last visited

Posts posted by NipunaMohotti

  1. On ‎08‎/‎29‎/‎2014 at 0:34 AM, SixSixSevenSeven said:

    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.

    Can you show me how you modified the library to work with Energia. The links you gave did not give much information...

  • Create New...