4 #include "CheeseboardConfig.h" 6 #ifdef U8X8_HAVE_HW_SPI 9 #ifdef U8X8_HAVE_HW_I2C 29 CbOledDisplayClass(
const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t reset=U8X8_PIN_NONE);
48 u8g2_uint_t
drawStrR(u8g2_uint_t x, u8g2_uint_t y,
const char *s);
56 void drawText(
const char* text,
char hAlign=
'L',
char vAlign=
'M');
61 void clear() { this->clearBuffer(); }
64 void show() { this->sendBuffer(); }
u8g2_uint_t drawStrR(u8g2_uint_t x, u8g2_uint_t y, const char *s)
u8g2_uint_t getCharWidth(char c)
CbOledDisplayClass(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t reset=U8X8_PIN_NONE)
void drawText(const char *text, char hAlign='L', char vAlign='M')