Grasshopper

algorithmic modeling for Rhino

Arduino & I/O Boards
Audio
Networking
Utility
Vision

State Detection

Component Index > Firefly > Utility > State Detection

Used when you want to detect when something has switched from LOW to HIGH (0 or 1) or vice versa. For more information see: http://arduino.cc/en/Tutorial/ButtonStateChange

Inputs

NameIDDescriptionType
ValueVIncoming value to test.Integer
ModuloMModulo value to determine the number of state changes before a switch is made.Integer

Outputs

NameIDDescriptionType
Current StateSCurrent StateInteger
CounterCCounterInteger

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

Badges  |  Report an Issue  |  Terms of Service