John Lauer Hi John I have attempted to configure and follow your instructions on

@jlauer
Hi John I have attempted to configure and follow your instructions on getting the ESP32 wireless Joystick to to work I have flashed the memory and uploaded the joystick and joystick test files and as you mentioned in your video I am getting “noise” when not touching the joystick. this is a small portion of the console output
dofile(“joystick_test.lc”)

dofile(“joystick_test.lc”)
Initting joystick pins. X: 6, Y: 5, Switch: 32
e[0;32mI (9345) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 e[0m
Set interrupt for switch.
Got xy change. x: 1882 y: 1858
Got xy change. x: 1875 y: 1863
Got xy change. x: 1873 y: 1858
Got xy change. x: 1879 y: 1859
Got xy change. x: 1879 y: 1863
Got xy change. x: 1879 y: 1858
Got xy change. x: 1879 y: 1863
Got xy change. x: 1873 y: 1854
Got xy change. x: 1871 y: 1850
Got xy change. x: 1881 y: 1857
Got xy change. x: 1872 y: 1850
Got xy change. x: 1877 y: 1858
Got xy change. x: 1878 y: 1856
Got xy change. x: 1879 y: 1860
Got xy change. x: 1876 y: 1858
Got xy change. x: 1877 y: 1859
Got xy change. x: 1879 y: 1859
node.restart()
node.restart()
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:4436
load:0x40078000,len:11080
load:0x40080000,len:252
entry 0x40080034
e[0;32mI (45) boot: ESP-IDF v3.0-dev-20-g9b955f4c 2nd stage bootloadere[0m
e[0;32mI (45) boot: compile time 15:47:33e[0m
e[0;32mI (46) boot: Enabling RNG early entropy source…e[0m
e[0;32mI (64) boot: SPI Speed : 40MHze[0m
e[0;32mI (77) boot: SPI Mode : DIOe[0m
e[0;32mI (89) boot: SPI Flash Size : 4MBe[0m
e[0;32mI (101) boot: Partition Table:e[0m
e[0;32mI (113) boot: ## Label Usage Type ST Offset Lengthe[0m
e[0;32mI (135) boot: 0 nvs WiFi data 01 02 00009000 00006000e[0m
e[0;32mI (159) boot: 1 phy_init RF data 01 01 0000f000 00001000e[0m
e[0;32mI (182) boot: 2 factory factory app 00 00 00010000 00100000e[0m
e[0;32mI (205) boot: 3 spiffs unknown c2 00 00110000 002f0000e[0m
e[0;32mI (228) boot: End of partition tablee[0m
e[0;32mI (241) boot: Disabling RNG early entropy source…e[0m
e[0;32mI (258) boot: Loading app partition at offset 00010000e[0m
e[0;32mI (1473) boot: segment 0: paddr=0x00010018 vaddr=0x00000000 size=0x0ffe8 ( 65512) e[0m
e[0;32mI (1473) boot: segment 1: paddr=0x00020008 vaddr=0x3f400010 size=0x20b94 (134036) mape[0m
e[0;32mI (1490) boot: segment 2: paddr=0x00040ba4 vaddr=0x3ffc0000 size=0x0209c ( 8348) loade[0m
e[0;32mI (1520) boot: segment 3: paddr=0x00042c48 vaddr=0x40080000 size=0x00400 ( 1024) loade[0m
e[0;32mI (1544) boot: segment 4: paddr=0x00043050 vaddr=0x40080400 size=0x160dc ( 90332) loade[0m
e[0;32mI (1613) boot: segment 5: paddr=0x00059134 vaddr=0x400c0000 size=0x00064 ( 100) loade[0m
e[0;32mI (1614) boot: segment 6: paddr=0x000591a0 vaddr=0x00000000 size=0x06e68 ( 28264) e[0m
e[0;32mI (1630) boot: segment 7: paddr=0x00060010 vaddr=0x400d0018 size=0x81248 (528968) mape[0m
e[0;32mI (1656) cpu_start: Pro cpu up.e[0m
e[0;32mI (1668) cpu_start: Starting app cpu, entry point is 0x40080fc4e[0m
e[0;32mI (1689) cpu_start: App cpu up.e[0m
e[0;32mI (1701) heap_alloc_caps: Initializing. RAM available for dynamic allocation:e[0m
e[0;32mI (1724) heap_alloc_caps: At 3FFAFF10 len 000000F0 (0 KiB): DRAMe[0m
e[0;32mI (1744) heap_alloc_caps: At 3FFC90E8 len 00016F18 (91 KiB): DRAMe[0m
e[0;32mI (1765) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAMe[0m
e[0;32mI (1787) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAMe[0m
e[0;32mI (1808) heap_alloc_caps: At 400964DC len 00009B24 (38 KiB): IRAMe[0m
e[0;32mI (1829) cpu_start: Pro cpu start user codee[0m
e[0;32mI (1895) cpu_start: Starting scheduler on APP CPU.e[0m

Mounting flash filesystem…
e[0;32mI (2035) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSEe[0m
e[0;32mI (2225) phy: phy_version: 355.1, 59464c5, Jun 14 2017, 20:25:06, 0, 0e[0m
I (2225) wifi: wifi firmware version: 72ddf26
I (2225) wifi: config NVS flash: enabled
I (2225) wifi: config nano formating: disabled
e[0;32mI (2235) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSEe[0m
e[0;32mI (2245) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSEe[0m
I (2265) wifi: Init dynamic tx buffer num: 32
I (2265) wifi: Init dynamic rx buffer num: 32
I (2265) wifi: wifi driver task: 3ffd34f4, prio:23, stack:4096
I (2265) wifi: Init static rx buffer num: 10
I (2275) wifi: Init dynamic rx buffer num: 32
I (2275) wifi: Init rx ampdu len mblock:7
I (2275) wifi: Init lldesc rx ampdu entry mblock:4
I (2285) wifi: wifi power manager task: 0x3ffd88bc prio: 21 stack: 2560
NodeMCU ESP32 build unspecified powered by Lua 5.1.4
lua: cannot open init.lua
can you tell me what I need to do to get the stable output you get on your video please

Bump

after uploading all the lua files to run on the esp32 what command must be issued to run the main_chilipeppr joystick.lc when it boots up . This is the console ouput when I power it on.
<00,d_drv:0x00,cs0
|ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:4436
load:0x40078000,len:11080
load:0x40080000,len:252
entry 0x40080034
e[0;32mI (45) boot: ESP-IDF v3.0-dev-20-g9b955f4c 2nd stage bootloadere[0m
e[0;32mI (45) boot: compile time 15:47:33e[0m
e[0;32mI (46) boot: Enabling RNG early entropy source…e[0m
e[0;32mI (63) boot: SPI Speed : 40MHze[0m
e[0;32mI (75) boot: SPI Mode : DIOe[0m
e[0;32mI (88) boot: SPI Flash Size : 4MBe[0m
e[0;32mI (100) boot: Partition Table:e[0m
e[0;32mI (111) boot: ## Label Usage Type ST Offset Lengthe[0m
e[0;32mI (134) boot: 0 nvs WiFi data 01 02 00009000 00006000e[0m
e[0;32mI (157) boot: 1 phy_init RF data 01 01 0000f000 00001000e[0m
e[0;32mI (180) boot: 2 factory factory app 00 00 00010000 00100000e[0m
e[0;32mI (204) boot: 3 spiffs unknown c2 00 00110000 002f0000e[0m
e[0;32mI (227) boot: End of partition tablee[0m
e[0;32mI (240) boot: Disabling RNG early entropy source…e[0m
e[0;32mI (257) boot: Loading app partition at offset 00010000e[0m
e[0;32mI (1472) boot: segment 0: paddr=0x00010018 vaddr=0x00000000 size=0x0ffe8 ( 65512) e[0m
e[0;32mI (1472) boot: segment 1: paddr=0x00020008 vaddr=0x3f400010 size=0x20b94 (134036) mape[0m
e[0;32mI (1489) boot: segment 2: paddr=0x00040ba4 vaddr=0x3ffc0000 size=0x0209c ( 8348) loade[0m
e[0;32mI (1519) boot: segment 3: paddr=0x00042c48 vaddr=0x40080000 size=0x00400 ( 1024) loade[0m
e[0;32mI (1542) boot: segment 4: paddr=0x00043050 vaddr=0x40080400 size=0x160dc ( 90332) loade[0m
e[0;32mI (1611) boot: segment 5: paddr=0x00059134 vaddr=0x400c0000 size=0x00064 ( 100) loade[0m
e[0;32mI (1612) boot: segment 6: paddr=0x000591a0 vaddr=0x00000000 size=0x06e68 ( 28264) e[0m
e[0;32mI (1629) boot: segment 7: paddr=0x00060010 vaddr=0x400d0018 size=0x81248 (528968) mape[0m
e[0;32mI (1655) cpu_start: Pro cpu up.e[0m
e[0;32mI (1666) cpu_start: Starting app cpu, entry point is 0x40080fc4e[0m
e[0;32mI (0) cpu_start: App cpu up.e[0m
e[0;32mI (1699) heap_alloc_caps: Initializing. RAM available for dynamic allocation:e[0m
e[0;32mI (1722) heap_alloc_caps: At 3FFAFF10 len 000000F0 (0 KiB): DRAMe[0m
e[0;32mI (1742) heap_alloc_caps: At 3FFC90E8 len 00016F18 (91 KiB): DRAMe[0m
e[0;32mI (1763) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAMe[0m
e[0;32mI (1784) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAMe[0m
e[0;32mI (1806) heap_alloc_caps: At 400964DC len 00009B24 (38 KiB): IRAMe[0m
e[0;32mI (1827) cpu_start: Pro cpu start user codee[0m
e[0;32mI (206) cpu_start: Starting scheduler on APP CPU.e[0m

Mounting flash filesystem…
e[0;32mI (356) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSEe[0m
e[0;32mI (536) phy: phy_version: 355.1, 59464c5, Jun 14 2017, 20:25:06, 0, 0e[0m
I (536) wifi: wifi firmware version: 72ddf26
I (536) wifi: config NVS flash: enabled
I (536) wifi: config nano formating: disabled
e[0;32mI (546) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSEe[0m
e[0;32mI (556) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSEe[0m
I (576) wifi: Init dynamic tx buffer num: 32
I (576) wifi: Init dynamic rx buffer num: 32
I (576) wifi: wifi driver task: 3ffd33e8, prio:23, stack:4096
I (576) wifi: Init static rx buffer num: 10
I (576) wifi: Init dynamic rx buffer num: 32
I (586) wifi: Init rx ampdu len mblock:7
I (586) wifi: Init lldesc rx ampdu entry mblock:4
I (596) wifi: wifi power manager task: 0x3ffd87b0 prio: 21 stack: 2560
NodeMCU ESP32 build unspecified powered by Lua 5.1.4

@jlauer Hi John are you able to provide me any pointers on my issue sorry for being such a noobe when it comes to software