Difference between revisions of "Component: Digital Potentiometer (MCP44XX) (Analog Output)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 34: | Line 36: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 177: | Line 181: | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | I2C Properties | ||
|- | |- | ||
|- | |- | ||
Line 208: | Line 216: | ||
|- | |- | ||
| colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | | colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Device Properties | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
Line 219: | Line 231: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | |
− | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | width="10%" align="center" style="background-color:# | ||
− | | width="90%" style="background-color:# | ||
|- | |- | ||
|- | |- |
Latest revision as of 17:27, 9 November 2022
Author | Matrix TSL |
Version | 1.0 |
Category | Analog Output |
Contents
Digital Potentiometer (MCP44XX) component
The MCP44XX device range supports 4 digital potentiometers or rheostat outputs. 129 or 257 possible output resistance values for each channel.
Component Pack
COMMSA
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
IncrementWiper |
Increments a single volatile wiper value | |
![]() |
Index |
Range: 0-3 | |
![]() |
Return |
![]() |
DecrementWiper |
Decrements a single volatile wiper value | |
![]() |
Index |
Range: 0-3 | |
![]() |
Return |
![]() |
SetWiper |
Sets the value of a single wiper | |
![]() |
Index |
Range: 0-3 | |
![]() |
Value |
129 Taps Range: 0-128 / 257 Taps Range: 0-256 | |
![]() |
MemoryType |
0=Volatile, 1=Nonvolatile | |
![]() |
Return |
![]() |
ReadAddress |
Reads a value from one of the registers on the device | |
![]() |
Address |
Range: 0-15 | |
![]() |
Return |
![]() |
WriteAddress |
Writes a value to one of the registers on the device | |
![]() |
Address |
Range: 0-15 | |
![]() |
Value |
Range: 0-256 | |
![]() |
Return |
![]() |
Initialise |
Startup the I2C peripheral ready for communications. | |
![]() |
Return |