Difference between revisions of "Component: Input Digital Pin (DSP Inputs)"
From Flowcode Help
Jump to navigationJump to search| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
| − | Please click here | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DSP_InputPin.fcfx FC_Comp_Source_DSP_InputPin.fcfx] |
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 38: | Line 40: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 58: | Line 62: | ||
==Macro reference== | ==Macro reference== | ||
| + | |||
| + | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| + | |- | ||
| + | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SamplePin''' | ||
| + | |- | ||
| + | | colspan="2" | Reads the value on the selected pin and based on the state outputs a value to the DSP buffer. | ||
| + | |- | ||
| + | |- | ||
| + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| + | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
| + | |} | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Property reference== | ||
| + | |||
| + | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| + | |- | ||
| + | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
| + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
| + | |- | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
| + | | width="90%" | Buffer Size | ||
| + | |- | ||
| + | | colspan="2" | Number of individual elements the buffer can store, default 1. | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
| + | | width="90%" | Buffer Type | ||
| + | |- | ||
| + | | colspan="2" | Sets the buffer data type, data is automatically scaled to fit and make full use of the data type. | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]] | ||
| + | | width="90%" | Pin Connection | ||
| + | |- | ||
| + | | colspan="2" | Pin which is sampled to provide the DSP input to the buffer. | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
| + | | width="90%" | High Value | ||
| + | |- | ||
| + | | colspan="2" | Value to write to the buffer when the pin is in the high state. | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
| + | | width="90%" | Low Value | ||
| + | |- | ||
| + | | colspan="2" | Value to write to the buffer when the pin is in the low state. | ||
| + | |}==Macro reference== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 15:13, 20 January 2023
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | DSP Inputs |
Contents
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 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 | |
| Reads the value on the selected pin and based on the state outputs a value to the DSP buffer. | |
| Return | |
Property reference
==Macro reference==
| SamplePin | |
| Reads the value on the selected pin and based on the state outputs a value to the DSP buffer. | |
| Return | |