above "restrictions"
void loop(void) {
// picture loop
setFont() // << will be valid as long as no other font is set
u8g.firstPage();
do {
draw();
} while( u8g.nextPage() );
// rebuild the picture after some delay
delay(1000);
}
void loop(void) {
// picture loop
setFont(4x6) // << will be valid as long as no other font is set
u8g.firstPage();
do {
//... // 4x6 font is only set for the first iteration
setFont() // << value will used for the second loop iteration also!!!
//...
} while( u8g.nextPage() );
// rebuild the picture after some delay
delay(1000);
}
maybe make better example with box and inverted text
Original issue reported on code.google.com by olikr...@gmail.com on 18 Nov 2012 at 11:56
Original issue reported on code.google.com by
olikr...@gmail.com
on 18 Nov 2012 at 11:56