Hello Gordon,
I have a few questions regarding serial communication.
Serial1.setup is not working with parity 'none'. I got the following error:
Serial1.setup(9600,{rx:B07,tx:B06,bytesize:8,parity:'none',stopbits:1}); INTERNAL ERROR: Unsupported serial parity mode.
'even' works:
Serial1.setup(9600,{rx:B07,tx:B06,bytesize:8,parity:'even',stopbits:1}); =undefined
Is null also 'none' ?
Second question. I'm a bit confused about the UART/USART pins. What is the difference between UART and USART ?
On the pinout reference for example "USART1 TX" is labeled on pin B06 and A09. Thus this mean, that i can choose which pin i would like to use ?
Many thanks
Sacha
@Sacha started
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.
Hello Gordon,
I have a few questions regarding serial communication.
Serial1.setup is not working with parity 'none'. I got the following error:
'even' works:
Is null also 'none' ?
Second question. I'm a bit confused about the UART/USART pins. What is the difference between UART and USART ?
On the pinout reference for example "USART1 TX" is labeled on pin B06 and A09.
Thus this mean, that i can choose which pin i would like to use ?
Many thanks
Sacha