Difference between revisions of "Component: Input Digital Pin (DSP)"

From Flowcode Help
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
 
==Input Digital Pin component==
 
==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.
 
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 Pack==
 +
 +
DSP
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
  
  
Line 26: Line 34:
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
  
  
Line 86: Line 98:
 
|-
 
|-
 
| colspan="2" | Value to write to the buffer when the pin is in the low state. 
 
| colspan="2" | Value to write to the buffer when the pin is in the low state. 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
 
|-
 
 
|}
 
|}

Latest revision as of 17:19, 9 November 2022

Author Matrix Ltd
Version 1.2
Category DSP


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 Pack

DSP

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png SamplePin
Reads the value on the selected pin and based on the state outputs a value to the DSP buffer. 
Fc9-void-icon.png - VOID Return



Property reference

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