CoreS3 touch with Arduino
-
I can't seem to figure out getting touch to work in an Arduino sketch, are there any examples available?
-
-
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403776d1
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29e4
entry 0x403c9880
E (1892) mmap: esp_mmu_unmap(595): munmap target pointer is outside external memory regionsassert failed: spi_flash_munmap flash_mmap.c:241 (0 && "invalid handle, or handle already unmapped")
Backtrace: 0x403770be:0x3fcf3cd0 0x4037bec1:0x3fcf3cf0 0x40381d01:0x3fcf3d10 0x420170d3:0x3fcf3e40 0x42016c09:0x3fcf3e60 0x42016d0d:0x3fcf3e80 0x42016fa7:0x3fcf3eb0 0x4200e2ac:0x3fcf3f10 0x4200f701:0x3fcf3f40 0x4203e15d:0x3fcf3f70 0x4037eaa6:0x3fcf3fb0
ELF file SHA256: 6f57f6b7e2510519
Rebooting...
I have tried your code but when I upload it using arduino ide I am getting this error in serial monitor can you help me plz ?
-
Hello @Fusion-Automate
have you tried any of the official M5CoreS3 examples? Do any of them work?
Edit: It looks like M5Stack moved M5CoreS3 to use M5Unified library - I've adapted my touch example. Thank you for reporting.
Thanks
Felix