Grasshopper

algorithmic modeling for Rhino

Arduino & I/O Boards
Audio
Networking
Utility
Vision

Serial Read (Generic)

Component Index > Firefly > Arduino & I/O Boards > Serial Read (Generic)

Retrieve a value coming over the serial port. Use the Timer
component (Parameters/Special/Timer) to update the sensor values.

Inputs

NameIDDescriptionType
Start Reading ValuesStartInput an Boolean value (True/False) to start receiving values from the serial port. Note: You must first open the serial connection by using the Open Port component (Firefly/Boards/Open Port) before setting the Start input value to True.Boolean
PortNumberPortThe port number has to be the same serial port assigned in the Arduino sketch. You can find which COM ports are available by using the Ports Available component (Firefly/Boards/Ports Available)Integer

Outputs

NameIDDescriptionType
Serial OutputOutThe incoming value from the serial connection.String
Status MessageMsgCurrent status of Serial PortString

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service