|
639 | 639 | # to not scale the 'wiper_x' parameters.
|
640 | 640 |
|
641 | 641 |
|
| 642 | +# Statically configured MCP4728 digital-to-analog converter connected |
| 643 | +# via I2C bus (one may define any number of sections with an "mcp4728" |
| 644 | +# prefix). |
| 645 | +#[mcp4728 my_dac] |
| 646 | +#i2c_mcu: mcu |
| 647 | +# The name of the micro-controller that the MCP4451 chip is |
| 648 | +# connected to. The default is "mcu". |
| 649 | +#i2c_address: |
| 650 | +# The i2c address that the chip is using on the i2c bus. The default |
| 651 | +# is zero. |
| 652 | +#channel_a: |
| 653 | +#channel_b: |
| 654 | +#channel_c: |
| 655 | +#channel_d: |
| 656 | +# The value to statically set the given MCP4728 channel to. This is |
| 657 | +# typically set to a number between 0.0 and 1.0 with 1.0 being the |
| 658 | +# highest voltage and 0.0 being the lowest voltage. However, the |
| 659 | +# range may be changed with the 'scale' parameter (see below). If a |
| 660 | +# channel is not specified then it is left unconfigured. |
| 661 | +#scale: |
| 662 | +# This parameter can be used to alter how the 'channel_x' parameters |
| 663 | +# are interpreted. If provided, then the 'channel_x' parameters |
| 664 | +# should be between 0.0 and 'scale'. This may be useful when the |
| 665 | +# MCP4728 is used to set stepper voltage references. The 'scale' can |
| 666 | +# be set to the equivalent stepper amperage if the MCP4728 were at |
| 667 | +# its highest voltage, and then the 'channel_x' parameters can be |
| 668 | +# specified using the desired amperage value for the stepper. The |
| 669 | +# default is to not scale the 'channel_x' parameters. |
| 670 | + |
| 671 | + |
642 | 672 | # Configure an SX1509 I2C to GPIO expander. Due to the delay incurred
|
643 | 673 | # by I2C communication you should NOT use SX1509 pins as stepper enable,
|
644 | 674 | # step or dir pins or any other pin that requires fast bit-banging. They
|
|
0 commit comments