5 Replies Latest reply on Aug 12, 2019 3:40 AM by LePo_1062026

    USB UART output garbles when_PutString is used consecutively

    DaVi_4379521

      I have a simple project that turns the onboard LED on/off via the switch.

       

      Then reads the state and outputs "Light On" or "Light Off" via usb uart using _PutString function.  The code and the working serial out:

       

      cyp03.PNG

       

      However, when I add a second consecutive line with the _PutString function, the output garbles badly and ultimately fails to respond after 13 or so button presses.

       

      I'm expecting a "Line2" to get printed underneath "Light On".

       

      cyp04.PNG