Analog I/O Blocks
A
MotoHawk:Blocks:Analog Input
This MotoHawk® block outputs a uint16 value from 0 to 1023, representing 0 to 5V, sampled at the A/D converter. Select a unique resource name. This name can be the name of the sensor that is being read. If none is given, it will either inherit the pin name or the vardec name, depending on whether calibrateable IO is selected.
Choose the pin resource to read. For some modules, a lower reference voltage is available for each ADC channel.
"Output Creation Status" will add an optional uint16 output that provides the ControlCore error status. 0 means OK, and any other number is an error. Please type 'help motohawk_enum_error' for more information. This can be useful for disabling diagnostics or strategies based on different I/O calibrations.