Component: Digital Potentiometer (MCP41XXX / MCP42XXX) (Analog Output)
From Flowcode Help
(Redirected from Component: ID aba8b3ce e71c 49c8 a961 d59b36338afa)
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Analog Output |
Contents
Digital Potentiometer (MCP41XXX / MCP42XXX) component
The MCP41XXX and MCP42XXX device range supports up to 2 digital potentiometer outputs. With 256 possible output resistance values for each channel.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_MCP41xxx_42xxx_Digital_Pot.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_MCP41xxx_42xxx_Digital_Pot.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
Initialise | |
Startup the SPI peripheral ready for communications. | |
- VOID | Return |
SetWiper
SetWiper | |
Sets the value of a single wiper | |
- BYTE | Index |
Range: 0-2 / 0=CH0, 1=CH1, 2=CH0 AND CH1 | |
- BYTE | Value |
256 Taps Range: 0-255 | |
- VOID | Return |