Jump to content

Component: Input Digital Pin (DSP Inputs): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 73: Line 73:


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''





Revision as of 11:57, 3 November 2023

Author Matrix Ltd
Version 1.2
Category DSP Inputs


Input Digital Pin component

Allows the values from a buffer to be assigned from a digital input pin. The input values for high and low state can be assigned using properties.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_DSP_InputPin.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_DSP_InputPin.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples









Macro reference

SamplePin

SamplePin
Reads the value on the selected pin and based on the state outputs a value to the DSP buffer. 
- VOID Return


Property reference

Properties
Buffer Size
Number of individual elements the buffer can store, default 1. 
Buffer Type
Sets the buffer data type, data is automatically scaled to fit and make full use of the data type. 
Pin Connection
Pin which is sampled to provide the DSP input to the buffer. 
High Value
Value to write to the buffer when the pin is in the high state. 
Low Value
Value to write to the buffer when the pin is in the low state.