Serial1 becomes unresponsive when not connected to serial via BLE on pixl.js #1136
Replies: 4 comments
-
Posted at 2023-09-05 by @fanoush EDIT: oh sorry, I misread pixl pin numbers for esp32 pins |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-09-05 by @fanoush 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 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-09-05 by Vivan Thanks fanoush, that has sorted it. Really appreciate the help. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-09-07 by @gfwilliams Sorry for the delay replying - glad you got this sorted! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-09-05 by Vivan
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?
Beta Was this translation helpful? Give feedback.
All reactions