You are reading a single comment by @Sacha and its replies. Click here to read the full conversation.
  • 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,bytesi­ze:8,parity:'none',stopbits:1});
    INTERNAL ERROR: Unsupported serial parity mode.

    'even' works:

    Serial1.setup(9600,{rx:B07,tx:B06,bytesi­ze: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

About

Avatar for Sacha @Sacha started