Serial4 And Serial5 Setup

Posted on
  • Hi I am trying to use Serial-4 and Serial-5 when i am trying this i am getting error like this ...

    Uncaught Error: Field or method does not already exist, and can't create it on undefined
    at line 1 col 8
    Serial4.setup(9600);

        ^
    

    =undefined

    In the firmware... i have modified

    #define USARTS 3
    to
    #define USARTS 5
    Still i am getting error ....

    any suggestions

  • Which board are you trying it with? You'll have to change it in BOARDNAME.py - that auto-generates platform_config.h (which I guess you modified) and a bunch of other stuff, including the variable Serial4.

  • Hi Gordon Thanks for the information ..... i will check it ...

  • Hi Gordon its working... Thank you....

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Serial4 And Serial5 Setup

Posted by Avatar for Vishnu @Vishnu

Actions