Component: Digital Potentiometer (AD528X) (Analog Output)
From Flowcode Help
Jump to navigationJump to search
| Author | 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 | |
|  - BOOL | Index | 
| 0=Channel1 /1=Channel2 | |
|  - VOID | Return | 
IncrementWiper
|   | IncrementWiper | 
| Increments a single volatile wiper value | |
|  - BYTE | Index | 
| Range: 0-1 | |
|  - VOID | Return | 
Initialise
|   | Initialise | 
| Startup the I2C peripheral ready for communications. | |
|  - VOID | Return | 
ReadTapValue
|   | ReadTapValue | 
| Reads the tap value of the seelcted channel | |
|  - BOOL | Index | 
| 0=Channel 1 / 1=Channel 2 | |
|  - BYTE | Return | 
SetWiper
|   | SetWiper | 
| Sets the value of a single wiper | |
|  - BOOL | Index | 
| 0=Channel 1 / 1=Channel 2 | |
|  - BYTE | Value | 
| 256 Taps Range: 0-255 | |
|  - VOID | 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







