Difference between revisions of "Component: Digital Potentiometer (X9Cx0x) (Analog Output)"
From Flowcode Help
Jump to navigationJump to search| Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 83: | Line 85: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===IncrementWiper=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 96: | Line 99: | ||
| + | ===DecrementWiper=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 109: | Line 113: | ||
| + | ===DecrementXTimes=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 127: | Line 132: | ||
| + | ===IncrementXTimes=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:53, 3 February 2023
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Analog Output |
Contents
Digital Potentiometer (X9Cx0x) component
The X9Cx0x device range supports a digital potentiometers outputs. 100 possible wiper tap points available. Supported devices include X9C102, X9C103, X9C104, X9C503.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_X9C_Digital_Pot.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_X9C_Digital_Pot.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
IncrementWiper
| IncrementWiper | |
| Increments a single volatile wiper value | |
| Return | |
DecrementWiper
| DecrementWiper | |
| Decrements a single volatile wiper value | |
| Return | |
DecrementXTimes
| DecrementXTimes | |
| Decrements the wiper value the specified number of times | |
| Count | |
| Range: 1-99 | |
| Return | |
IncrementXTimes
| IncrementXTimes | |
| Increments the wiper value the specified number of times | |
| Count | |
| Range: 1-99 | |
| Return | |
Property reference
| Properties | |
| Device Connections | |
| CS Pin | |
| Chip Select Pin, Active Low | |
| Increment Pin | |
| Increment Pin, Active Low | |
| Up/Down Pin | |
| Up Down Pin, Low = Down, High = Up | |