Grasshopper

algorithmic modeling for Rhino

Arduino & I/O Boards
Audio
Networking
Utility
Vision

Serial Write (Generic)

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

Write a string value to the Serial Port.

Inputs

NameIDDescriptionType
Start Writing ValuesStartInput an boolean value (True/False) to start writing values to 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
Write DataDataString to write to the Serial PortString
PortNumberPortThe port number has to be the same serial port assigned in the Arduino sketch. You can find which COM port you are using by using the Ports Available component (Firefly/Boards/Ports Available).Integer

Outputs

NameIDDescriptionType
Arduino OutputOutReturns the string that will be sent to the serial port.String
Status MessageMsgCurrent status of serial portString

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

Badges  |  Report an Issue  |  Terms of Service