Looks like the serial.setup() on these boards requires the RX and the TX pin. On STM32 I could get away with only specifying the RX pin. For example on MDBT42Q:
>Serial1.setup(9600, {rx:D8})
ERROR: Invalid RX or TX pins
Is this some Nordic-thing, that can't be changed easily? I have enough pins, so no problem, just curious...
Flashed the latest cutting-edge build to the MDBT, but sw serial is much worse than the Wifi. (PMS7003 and it's 32 byte packets) I guess bluetooth connection doesn't help :(
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi!
Looks like the
serial.setup()
on these boards requires the RX and the TX pin. On STM32 I could get away with only specifying the RX pin. For example on MDBT42Q:Is this some Nordic-thing, that can't be changed easily? I have enough pins, so no problem, just curious...
Flashed the latest cutting-edge build to the MDBT, but sw serial is much worse than the Wifi. (PMS7003 and it's 32 byte packets) I guess bluetooth connection doesn't help :(