Component: Digital Potentiometer (AD528X) (Analog Output): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 28: | Line 28: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DecrementWiper''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DecrementWiper''' | ||
|- | |- | ||
| Line 47: | Line 47: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''IncrementWiper''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''IncrementWiper''' | ||
|- | |- | ||
| Line 66: | Line 66: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | ||
|- | |- | ||
| Line 80: | Line 80: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadTapValue''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadTapValue''' | ||
|- | |- | ||
| Line 99: | Line 99: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetWiper''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetWiper''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Analog Output |
Digital Potentiometer (AD528X) component
The AD528X device range supports up to 2 digital potentiometers or rheostat outputs. 256 possible output resistance values for each channel. Note: The initial value of both channels will start at 0.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
DecrementWiper
| DecrementWiper | |
| Decrements a single volatile wiper value | |
| Index | |
| 0=Channel1 /1=Channel2 | |
| Return | |
IncrementWiper
| IncrementWiper | |
| Increments a single volatile wiper value | |
| Index | |
| Range: 0-1 | |
| Return | |
Initialise
| Initialise | |
| Startup the I2C peripheral ready for communications. | |
| Return | |
ReadTapValue
| ReadTapValue | |
| Reads the tap value of the seelcted channel | |
| Index | |
| 0=Channel 1 / 1=Channel 2 | |
| Return | |
SetWiper
| SetWiper | |
| Sets the value of a single wiper | |
| Index | |
| 0=Channel 1 / 1=Channel 2 | |
| Value | |
| 256 Taps Range: 0-255 | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_AD528x_Digital_Pot.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_AD528x_Digital_Pot.fcfx