-
• #2
EDIT: oh sorry, I misread pixl pin numbers for esp32 pins
-
• #3
Pixl.js is nrf52832, it has only 1 uart preconfigured to pins D0,D1 https://github.com/espruino/Espruino/blob/master/boards/PIXLJS.py#L23 and https://github.com/espruino/Espruino/blob/master/boards/PIXLJS.py#L113
When you disconnect from BLE the interactive console is switched to Serial and interferes with your usage. You can useBluetooth.setConsole(true)
to force interactive console to stay away from serial even when bluetooth is disconnected. -
• #4
Thanks fanoush, that has sorted it. Really appreciate the help.
-
• #5
Sorry for the delay replying - glad you got this sorted!
Hi,
I'm currently trying to use UART Serial1 on GPIO 10 and GPIO 11. I've got it working and can communicate between it and the ESP32 I have attached. The only problem is that this is only the case when I'm connected via BLE on the Espruino IDE. As soon as I'm not connected, Serial1 doesn't send or receive transmissions. I've read that connecting GPIO0 to UART will enable this at startup but I was wondering is there anyway for me to use the pins above?