15 oledc = ssd1331_init(6, 7, 8, 9, 10, 96, 64);
16 setDisplayRotation(oledc, 0);
17 setDisplayRotation(oledc, 1);
20 fillCircle(oledc, 60, 60, 15, remapColor888to565(0xff0000));
21 fillCircle(oledc, 40, 40, 15, remapColor888to565(0xff0000));
23 drawLine(oledc, 0, 0, 95, 63,
BLUE);
25 drawPrint(oledc,
"hello world!");
34 for (
int k = -32; k < 64; k++) {
36 drawPrint(oledc,
"%d, ",k);