Skip to content

Commit 7306999

Browse files
committed
More examples moved to turbo
1 parent b34c419 commit 7306999

44 files changed

Lines changed: 910 additions & 792 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/arduino32/UnoR4Disco/UnoR4Disco.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
* SCLK - 13, COPI - 12, CS - 10, RST - 12, RS/DC - 9
1010
* and for the keypad
1111
* UP - 5, DOWN - 4, LEFT - 6, RIGHT - 7
12+
*
13+
* To build your own menu: https://designer.thecoderscorner.com/
14+
* Getting started: https://www.thecoderscorner.com/products/apps/tcmenu-designer/
15+
* Documentation: https://www.thecoderscorner.com/products/arduino-libraries/
1216
*/
1317

1418
#include "UnoR4Disco_menu.h"

examples/avr/keyboardEthernetShield/keyboardEthernetShield.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
* This sketch is setup for MEGA2560 AVR with a 20x4 LCD on I2C and also an encoder on I2C. It also assumes an I2C ROM.
55
* However, you can take the ideas from this sketch and apply them in your own designs.
66
*
7+
* We think there's more benefit to using static structures on AVR than on other platforms, so we've left this example
8+
* using static menu building instead of the fluent API. However, for your project, the choice is yours to make.
9+
*
710
* More information about matrix keyboard support:
811
* https://www.thecoderscorner.com/products/arduino-libraries/io-abstraction/matrix-keyboard-keypad-manager/
912
*

examples/avr/nokia5110/nokia5110.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Be careful using UIP in production boards as it is GPL. Fine for small
66
* home projects. TcMenu has an Apache license but UIP does not. Prefer
77
* Ethernet2 for production boards as it is LGPL.
8+
*
9+
* We think there's more benefit to using static structures on AVR than on other platforms, so we've left this example
10+
* using static menu building instead of the fluent API. However, for your project, the choice is yours to make.
811
*
912
* Getting started: https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/tcmenu-overview-quick-start/
1013
*/

examples/esp/esp32s2Saola/esp32s2Saola.emf renamed to examples/esp/ESP32S2EInk/ESP32S2EInk.emf

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "1.00",
33
"projectName": "eInk demonstration with digital joystick",
4-
"author": "dave",
4+
"author": "root",
55
"items": [
66
{
77
"parentId": 0,
@@ -32,6 +32,7 @@
3232
"variableName": "IntEdit",
3333
"id": 1,
3434
"eepromAddress": 2,
35+
"functionName": "",
3536
"readOnly": false,
3637
"localOnly": false,
3738
"visible": true,
@@ -52,6 +53,7 @@
5253
"variableName": "DecEdit",
5354
"id": 2,
5455
"eepromAddress": 4,
56+
"functionName": "",
5557
"readOnly": false,
5658
"localOnly": false,
5759
"visible": true,
@@ -72,6 +74,7 @@
7274
"variableName": "Halves",
7375
"id": 3,
7476
"eepromAddress": 6,
77+
"functionName": "",
7578
"readOnly": false,
7679
"localOnly": false,
7780
"visible": true,
@@ -93,6 +96,7 @@
9396
"variableName": "Foods",
9497
"id": 4,
9598
"eepromAddress": 8,
99+
"functionName": "",
96100
"readOnly": false,
97101
"localOnly": false,
98102
"visible": true,
@@ -109,6 +113,7 @@
109113
"variableName": "DoorOpen",
110114
"id": 5,
111115
"eepromAddress": 10,
116+
"functionName": "",
112117
"readOnly": false,
113118
"localOnly": false,
114119
"visible": true,
@@ -124,6 +129,7 @@
124129
"variableName": "Extras",
125130
"id": 10,
126131
"eepromAddress": -1,
132+
"functionName": "",
127133
"readOnly": false,
128134
"localOnly": false,
129135
"visible": true,
@@ -141,6 +147,7 @@
141147
"variableName": "ExtrasText",
142148
"id": 11,
143149
"eepromAddress": 11,
150+
"functionName": "",
144151
"readOnly": false,
145152
"localOnly": false,
146153
"visible": true,
@@ -157,6 +164,7 @@
157164
"variableName": "ExtrasColor",
158165
"id": 12,
159166
"eepromAddress": 16,
167+
"functionName": "",
160168
"readOnly": false,
161169
"localOnly": false,
162170
"visible": true,
@@ -189,6 +197,7 @@
189197
"variableName": "Connectivity",
190198
"id": 14,
191199
"eepromAddress": -1,
200+
"functionName": "",
192201
"readOnly": false,
193202
"localOnly": false,
194203
"visible": true,
@@ -206,6 +215,7 @@
206215
"variableName": "ConnectivitySSID",
207216
"id": 16,
208217
"eepromAddress": 20,
218+
"functionName": "",
209219
"readOnly": false,
210220
"localOnly": false,
211221
"visible": true,
@@ -223,6 +233,7 @@
223233
"variableName": "ConnectivityPasscode",
224234
"id": 17,
225235
"eepromAddress": 42,
236+
"functionName": "",
226237
"readOnly": false,
227238
"localOnly": false,
228239
"visible": true,
@@ -242,6 +253,7 @@
242253
"variableName": "ConnectivityWiFiMode",
243254
"id": 18,
244255
"eepromAddress": 64,
256+
"functionName": "",
245257
"readOnly": false,
246258
"localOnly": false,
247259
"visible": true,
@@ -259,6 +271,7 @@
259271
"variableName": "ConnectivityIPAddress",
260272
"id": 15,
261273
"eepromAddress": -1,
274+
"functionName": "",
262275
"readOnly": false,
263276
"localOnly": false,
264277
"visible": true,
@@ -274,6 +287,7 @@
274287
"variableName": "ConnectivityIoTMonitor",
275288
"id": 19,
276289
"eepromAddress": -1,
290+
"functionName": "",
277291
"readOnly": false,
278292
"localOnly": true,
279293
"visible": true,
@@ -289,6 +303,7 @@
289303
"variableName": "ConnectivityAuthenticator",
290304
"id": 20,
291305
"eepromAddress": -1,
306+
"functionName": "",
292307
"readOnly": false,
293308
"localOnly": true,
294309
"visible": true,
@@ -301,8 +316,10 @@
301316
"item": {
302317
"secured": false,
303318
"name": "IoT Setup",
319+
"variableName": "",
304320
"id": 22,
305321
"eepromAddress": -1,
322+
"functionName": "",
306323
"readOnly": false,
307324
"localOnly": false,
308325
"visible": true,
@@ -317,8 +334,10 @@
317334
"textLength": 5,
318335
"itemType": "IP_ADDRESS",
319336
"name": "IP Addr",
337+
"variableName": "",
320338
"id": 23,
321339
"eepromAddress": -1,
340+
"functionName": "",
322341
"readOnly": false,
323342
"localOnly": false,
324343
"visible": true,
@@ -331,8 +350,10 @@
331350
"item": {
332351
"menuType": "REMOTE_IOT_MONITOR",
333352
"name": "IoT Monitor1",
353+
"variableName": "",
334354
"id": 24,
335355
"eepromAddress": -1,
356+
"functionName": "",
336357
"readOnly": false,
337358
"localOnly": true,
338359
"visible": true,
@@ -347,9 +368,9 @@
347368
"lastRemoteUuids": [
348369
"46c30011-cac6-4598-a7b8-b0630d55daab"
349370
],
350-
"lastThemeUuid": "bcd5fe34-9e9f-4fcb-9edf-f4e3caca0674",
371+
"lastThemeUuid": "D88EC638-8E17-4D23-8CCC-A99A836D3C2C",
351372
"applicationUUID": "b447b433-fe4f-4ce7-8746-d94bfeefc707",
352-
"applicationName": "ESP32-S2 Saola board",
373+
"applicationName": "ESP32 S2 eInk",
353374
"lastProperties": [
354375
{
355376
"name": "DISPLAY_TYPE",
@@ -585,22 +606,27 @@
585606
"name": "THEME_SELECTED_FG",
586607
"latestValue": "GxEPD_WHITE",
587608
"subsystem": "THEME"
609+
},
610+
{
611+
"name": "UNO_OR_FULL",
612+
"latestValue": "unoLcd",
613+
"subsystem": "DISPLAY"
588614
}
589615
],
590616
"namingRecursive": true,
591617
"useCppMain": false,
592-
"saveLocation": "ALL_TO_CURRENT",
618+
"saveLocation": "ONE_SINGLE_FILE_MENU_MAIN",
619+
"useDynamicMenus": true,
593620
"usingSizedEEPROMStorage": false,
621+
"eepromSaveMode": "LEGACY_WRITE_BY_POSITION",
594622
"eepromDefinition": "prefs:menuStore:512",
595623
"authenticatorDefinition": "rom:200:4",
596624
"projectIoExpanders": [
597625
"deviceIO:"
598626
],
599627
"menuInMenuCollection": {
600628
"menuDefinitions": []
601-
},
602-
"packageNamespace": "",
603-
"appIsModular": false
629+
}
604630
},
605631
"stringLists": []
606632
}

0 commit comments

Comments
 (0)