Skip to content

Commit b8a9770

Browse files
committed
example updated
1 parent 1f3bcac commit b8a9770

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/esp/esp32SimHub/esp32SimHub.emf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
},
333333
{
334334
"name": "DISPLAY_BUFFER_SIZE",
335-
"latestValue": "0",
335+
"latestValue": "20",
336336
"subsystem": "DISPLAY"
337337
},
338338
{
@@ -387,7 +387,7 @@
387387
},
388388
{
389389
"name": "TS_KEY_REPEAT",
390-
"latestValue": "20",
390+
"latestValue": "35",
391391
"subsystem": "INPUT"
392392
},
393393
{

examples/esp/esp32SimHub/esp32SimHub_menu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const PROGMEM ConnectorLocalInfo applicationInfo = { "SimHub Link", "4db9fbfe-9
1919
TcMenuRemoteServer remoteServer(applicationInfo);
2020

2121
Adafruit_ILI9341 gfx(22, 17, 16);
22-
AdafruitDrawable gfxDrawable(&gfx, 0);
22+
AdafruitDrawable gfxDrawable(&gfx, 20);
2323
GraphicsDeviceRenderer renderer(30, applicationInfo.name, &gfxDrawable);
2424
ESP32TouchKeysAbstraction esp32Touch(800, TOUCH_HVOLT_2V7, TOUCH_LVOLT_0V5, TOUCH_HVOLT_ATTEN_1V);
2525
SimHubRemoteConnection simhubConnection(&Serial, 3);
@@ -75,7 +75,7 @@ void setupMenu() {
7575
gfx.setRotation(1);
7676
renderer.setUpdatesPerSecond(5);
7777
switches.init(&esp32Touch, SWITCHES_POLL_EVERYTHING, false);
78-
menuMgr.initForUpDownOk(&renderer, &menuSpeed, 7, 5, 6, 20);
78+
menuMgr.initForUpDownOk(&renderer, &menuSpeed, 7, 5, 6, 35);
7979
esp32Touch.ensureInterruptRegistered();
8080
remoteServer.addConnection(&simhubConnection);
8181
renderer.setTitleMode(BaseGraphicalRenderer::TITLE_FIRST_ROW);

0 commit comments

Comments
 (0)