Difference between revisions of "Component: Digital Potentiometer (X9Cx0x) (Analog Output)"

From Flowcode Help
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
==Digital Potentiometer (X9Cx0x) component==
 
==Digital Potentiometer (X9Cx0x) component==
 
The X9Cx0x device range supports a digital potentiometers outputs. 100 possible wiper tap points available.  Supported devices include X9C102, X9C103, X9C104, X9C503.
 
The X9Cx0x device range supports a digital potentiometers outputs. 100 possible wiper tap points available.  Supported devices include X9C102, X9C103, X9C104, X9C503.
 +
 +
==Component Pack==
 +
 +
BASICIO
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
''No detailed description exists yet for this component''
 
''No detailed description exists yet for this component''
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  
Line 83: Line 111:
 
|-
 
|-
 
| colspan="2" | Range: 1-99 
 
| colspan="2" | Range: 1-99 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
 
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ShowDigit'''
 
|-
 
| colspan="2" | Set the number to be displayed in the given digit of the display. The colon character can also be controlled when writing to digit 1. 
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Digit
 
|-
 
| colspan="2" | Which of the four digits to change. (0...3) 
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Value
 
|-
 
| colspan="2" | The number value to set the digit to (0...15), 16=Clear 
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Colon
 
|-
 
| colspan="2" | Whether to show the colon character. Digit 1 only. 
 
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
Line 125: Line 125:
 
| 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;" | Device Connections
 
|-
 
|-
 
|-
 
|-
Line 141: Line 145:
 
|-
 
|-
 
| colspan="2" | Up Down Pin, Low = Down, High = Up 
 
| colspan="2" | Up Down Pin, Low = Down, High = Up 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
 
|-
 
 
|}
 
|}

Latest revision as of 17:27, 9 November 2022

Author Matrix TSL
Version 1.0
Category Analog Output


Digital Potentiometer (X9Cx0x) component

The X9Cx0x device range supports a digital potentiometers outputs. 100 possible wiper tap points available. Supported devices include X9C102, X9C103, X9C104, X9C503.

Component Pack

BASICIO

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png IncrementWiper
Increments a single volatile wiper value 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png DecrementWiper
Decrements a single volatile wiper value 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png DecrementXTimes
Decrements the wiper value the specified number of times 
Fc9-u8-icon.png - BYTE Count
Range: 1-99 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png IncrementXTimes
Increments the wiper value the specified number of times 
Fc9-u8-icon.png - BYTE Count
Range: 1-99 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Device Connections
Fc9-type-5-icon.png CS Pin
Chip Select Pin, Active Low 
Fc9-type-5-icon.png Increment Pin
Increment Pin, Active Low 
Fc9-type-5-icon.png Up/Down Pin
Up Down Pin, Low = Down, High = Up