Component: Digital Potentiometer (AD528X) (Analog Output)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Analog Output |
Contents
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