Arduino-Uno per un Alimentatore variabile 2 Oled e controlli vari

Ecco appunto studiale anche tu. :smiley:

Prototipo di drawStr()

u8g2_uint_t drawStr(u8g2_uint_t x, u8g2_uint_t y, const char *s) { return u8g2_DrawStr(&u8g2, x, y, s); }

Come vedi il terzo argomento deve essere un puntatore a char, questo è restituito dal metodo c_str()' della classe String`. Quindi è matematico
deve funzionare anche a te.

Ciao.

1 Like