While the UART is initialised automatically if D29/30 are connected, you can do it manually (on any pins) with Serial1.setup(9600,{rx:..., tx:...}) - and if you manually set the pin to do something else with digitalRead(rxpin);digitalRead(txpin) then that should automatically turn it off - saving power.
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,
While the UART is initialised automatically if D29/30 are connected, you can do it manually (on any pins) with
Serial1.setup(9600,{rx:..., tx:...})
- and if you manually set the pin to do something else withdigitalRead(rxpin);digitalRead(txpin)
then that should automatically turn it off - saving power.