7 Replies Latest reply on Mar 24, 2016 2:34 PM by JPMontero_Intel

    Serial config support : Serial1.begin( 115200, SERIAL_8N2);

    EncorePersonne

      Hi all,

       

      In a arduino Sketch, I would like to configure my Serial1 port with a SERIAL_8N2 config. If I use:

            Serial1.begin( 115200, SERIAL_8N2);

      I have an error stating:

      pil_ilper.ino: In function 'void setup()':

      pil_ilper.ino:103:26: error: 'SERIAL_8N2' was not declared in this scope

       

      Is there a way to configure Serial1 port (parity, start,..) in a Sketch?

       

      Thanks,

      Patrick