HCI-Lab-Saarland / MultiTouchKitUI

Other
19 stars 5 forks source link

Suggestion: String portName #2

Open WesWeCan opened 2 years ago

WesWeCan commented 2 years ago

A better pattern for initializing the Serial communication would be to accept a String portName as input for serialPort instead of a index number for the constructor function. Now this gives unnecessary confusion.

The Serial.list() method is mentioned in the FAQ of the instructions, but it would be nice to integrate this in the example.