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