Is it possible that pin mapping for this board is wrong ?
As IDE I use VS.Studio and PlatformIO where I set platformio.ini like this:
platform = espressif32
board = seeed_xiao_esp32s3
and I used this code to check the correspondence of the Pins: #include <Arduino.h>
I’m using these definitions:
// GM67 QR Code Reader configuration #define GM67_RX_PIN 44 // UART RX pin connected to GM67 TX (ESP32 RX receives data from GM67 TX) #define GM67_TX_PIN 43 // UART TX pin connected to GM67 RX (ESP32 TX sends data to GM67 RX) #define GM67_UART_NUM 1 // UART port number #define GM67_BAUD_RATE 9600 // Fixed baud rate for GM67 (9600 N 8 1) #define GM67_DATA_BITS SERIAL_8N1 // 8 data bits, no parity, 1 stop bit