diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-03-31 19:08:05 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-04-04 18:29:30 -0400 |
commit | be6b29fabffeea681472bb4a0cfc63dcb4afe30e (patch) | |
tree | 7ea33566bb529f2cdb6baf08bf5a56a9e7b7519e /config/example-extras.cfg | |
parent | 2e16be224efcff315dafaf1f4e4b85e3c7a8c3c8 (diff) | |
download | kutter-be6b29fabffeea681472bb4a0cfc63dcb4afe30e.tar.gz kutter-be6b29fabffeea681472bb4a0cfc63dcb4afe30e.tar.xz kutter-be6b29fabffeea681472bb4a0cfc63dcb4afe30e.zip |
sx1509: Convert code to use generic i2c bus support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r-- | config/example-extras.cfg | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 9f164476..f7225735 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -939,11 +939,14 @@ # prefix. Each expander provides a set of 16 pins (sx1509_my_sx1509:PIN_0 to # sx1509_my_sx1509:PIN_15) which can be used in the printer configuration. #[sx1509 my_sx1509] -#address: +#i2c_mcu: mcu +# The name of the micro-controller that the SX1509 chip is connected +# to. The default is "mcu". +#i2c_address: # I2C address used by this expander. Depending on the hardware jumpers -# this is one out of the following addresses: 0x3E 0x3F 0x70 0x71. This -# parameter must be provided -#bus: 0 +# this is one out of the following addresses: 62 63 112 113. This +# parameter must be provided. +#i2c_bus: 0 # If the I2C implementation of your microcontroller supports multiple I2C # busses, you may specify the bus number here. The default is 0. |