Ahh - thanks. I'll change that. For now, just do parity:0 (or leave it out). parity:null works for no parity too, as you suggest.
UART/USART are actually because of the STM32 chip that's being used. A USART has a CK (clock) pin, and a UART doesn't. There's no support for the CK pin in Espruino right now, so you can actually safely assume that both UART and USART are the same.
And with the pins - yes, on Espruino you've usually got a choice of which pin you put which peripheral on. However you can't put rx on one pin and tx on the other - both rx and tx have to be on pins 'next' to each other - eg . use B6+B7 or A9+A10, not B6+A10
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.
Ahh - thanks. I'll change that. For now, just do
parity:0
(or leave it out).parity:null
works for no parity too, as you suggest.UART/USART are actually because of the STM32 chip that's being used. A USART has a CK (clock) pin, and a UART doesn't. There's no support for the CK pin in Espruino right now, so you can actually safely assume that both UART and USART are the same.
And with the pins - yes, on Espruino you've usually got a choice of which pin you put which peripheral on. However you can't put
rx
on one pin andtx
on the other - both rx and tx have to be on pins 'next' to each other - eg . useB6+B7
orA9+A10
, notB6+A10