41 Wire.endTransmission();
53 for (
int j=0;j<64;j++){
56 for(
int i = 0;i<16;i++){
59 Wire.endTransmission();
82 while(value && *value !=
'\0')
92 for(
int i = 0;i<9;i++){
95 Wire.endTransmission();
106 for(
int i = 0;i<9;i++){
109 Wire.endTransmission();
116 const int len = value.length() + 1;
119 value.toCharArray(msgBuffer, len);
125 const int len = value.length() + 1;
127 value.toCharArray(msgBuffer, len);
129 this->
print(msgBuffer);
133 const int len = value.length() + 1;
135 value.toCharArray(msgBuffer, len);
143 this->
print(itoa(value, cstr, 10));
149 this->
println(itoa(value, cstr, 10));
LookUpTable for 8x8 Pixel Characters for an SSD1306 Display.
const char font8x8_colwise[128][9]
First index specifies the index, where index equals the ascii encoding unprintable characters are enc...
#define setComDirectionFlipped
#define setComDirectionNormal
void sendDisplayCMD(uint8_t cmd)
sends the passed cmd to the display, cmd_byte is added as prefix by the function
void println(char *value)
same as the print method, but after the string a line break is inserted
void flipOrientation(void)
flips the horizontal orientation of all content on the display
void clear(void)
delets all content from the display, resets the linecounter, new print will start at the top left....
char stringToCharArray(String value)
string to char
void print(char *value)
prints the passed string right behind the current displaycontent the sequence "\n" can be used to mak...
void updateLine(uint charAmount)
should be called whenever characters where printed to the display. Updates the data of the class to h...
void invertColor(void)
inverts the pixelcolors, so pixels on will be set to off and currently off pixels will be turned off....
void begin(void)
initializes the display datastructures and sents the required cmds to start the display....