Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by MichelKohler

  1. < #include <Wire.h> #include "Font.h" #include <string.h> #include "images.h" #define OLED_Write_Address 0x3C void OLED_Data(char *DATA) /* Function for sending data to OLED */ { int len = strlen(DATA); for (int g=0; g<len; g++) { for (int index=0; index<5; index++) { Wire.beginTransmission(OLED_Write_Address); /* Begin transmission to slave device */ /* Queue data to be transmitted */ Wire.write(0x40); /* For Data Transmission, C = 0 and D/C = 1 */ Wire.write(ASCII[DATA[g] - 0x20][index]); Wire.endTransmission(); /
  2. Hi Guys, can anyone help with the topic of porting Adafruit_GFX and Adafruit_SSD1306 libraries to Energia. I´ve been over a couple of weeks trying to port it to use a Tiva C (TM4C123) with a bunch of SSD1306 0.96" that I have laying round. But didn´t get it to work. I maximum result I got is with the code bellow working, but I wasn´t able to display the reading of my INA219 on the 0,96" OLED, just on serial monitor. It seem the code won´t used float with chart. Any help will be much appreciated.
  • Create New...