Register / Login | Desktop view |
Filename | ProyectoTcMenu.emf |
Description | No description given |
Filesize | 3 Kbytes |
Downloaded | 1367 time(s) |
Download |
Filename | 2-theme.png |
Description | No description given |
Filesize | 71 Kbytes |
Downloaded | 1308 time(s) |
Download |
Filename | 1-display.png |
Description | No description given |
Filesize | 106 Kbytes |
Downloaded | 1333 time(s) |
Download |
Also, is there a Wire.begin in the sketch somewhere?
Maybe something along the line of clearing the display and then printing something anywhere on the display and waiting for a few seconds. Dont forget to flush the buffer after printing something though!
void setup() {
Serial.begin(115200);
printf("\n\nCalling setupMenu()...");
setupMenu();
printf(" OK.\n");
}
void loop() {
taskManager.runLoop();
renderer.takeOverDisplay(fnTakeOver);
}
void CALLBACK_FUNCTION fnTakeOver(unsigned int encoderValue, RenderPressMode clicked) {
if (encoderValue != 1)
printf("encoder: %d\tclicked: %d\n", encoderValue, clicked);
gfx.drawCircle(20, 20, 18, true);
renderer.giveBackDisplay();
}
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[ . . .]
Calling setupMenu()... OK.
encoder: 2 clicked: 0
encoder: 0 clicked: 0
No, neither in the old project nor this one there is a Wire.begin()