Jump to content

The_YongGrand

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

The_YongGrand's Achievements

Newbie

Newbie (1/4)

2

Reputation

  1. Hello Digilent support, I'm using the Waveforms 3.21.2 SDK and struggling to get the SerialPort module to at least read the string that is received from another microcontroller board. This microcontroller board's serial is using the USB CDC and it is a generic Raspberry Pico board. It is connected to the PC like any other serial ports. For example, here's the code: var com = new SerialPort(); // wait for the com port to be available: while(!com.open("COM6",115200)) {} // The microcontroller board sends a string example: Hello World to the PC after the board is detected and printed on the output: print(com.read()); However it doesn't read anything - not sure if I missed out something there. Also, any more examples of the SerialPort for the SDK, especially reading strings?
×
×
  • Create New...