Skip to content

"Select serial port" dropdown can be misleading when used with p5 web editor #14

Open
@kaganjd

Description

@kaganjd

Using the serial control app alone, without the p5 web editor, you have to follow these steps to get data in the app's serial console:

  1. select the serial port from the dropdown in the app that's connected to your Arduino, and
  2. check the "Serial Console Enabled" box

If you're using the web editor, you can:

  1. open the app
  2. check the "Serial Console Enabled" box
  3. connect to the app in your p5 sketch
  4. "play" your sketch

You never have to select your serial port from the dropdown. Since you set the portName in the p5 sketch, you're getting data from the Arduino, but the serial port dropdown will show the first option in the dropdown, which may not be the port you're actually getting data from.

One fix would be to figure out how to get the serial control app to display the port that's actually being read from, in cases where it's set from a p5 sketch instead of the dropdown menu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions