diff options
author | Wulfsta <wulfstawulfsta@gmail.com> | 2024-10-21 21:11:31 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2024-11-12 19:50:48 -0500 |
commit | 9d36f31615c7063439c5c986e3bfc1ade5c20236 (patch) | |
tree | 24e556ab85cb406bcc5f21bdad3e264ed104f6e0 | |
parent | 0f7887fffe98b628cf9686d359adc6aedba1cc83 (diff) | |
download | kutter-9d36f31615c7063439c5c986e3bfc1ade5c20236.tar.gz kutter-9d36f31615c7063439c5c986e3bfc1ade5c20236.tar.xz kutter-9d36f31615c7063439c5c986e3bfc1ade5c20236.zip |
docs: Add lis2dw i2c and lis3dh
Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
-rw-r--r-- | docs/Config_Reference.md | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md index 94379a75..17b466b3 100644 --- a/docs/Config_Reference.md +++ b/docs/Config_Reference.md @@ -1675,8 +1675,40 @@ Support for LIS2DW accelerometers. ``` [lis2dw] -cs_pin: -# The SPI enable pin for the sensor. This parameter must be provided. +#cs_pin: +# The SPI enable pin for the sensor. This parameter must be provided +# if using SPI. +#spi_speed: 5000000 +# The SPI speed (in hz) to use when communicating with the chip. +# The default is 5000000. +#spi_bus: +#spi_software_sclk_pin: +#spi_software_mosi_pin: +#spi_software_miso_pin: +# See the "common SPI settings" section for a description of the +# above parameters. +#i2c_address: +# Default is 25 (0x19). If SA0 is high, it would be 24 (0x18) instead. +#i2c_mcu: +#i2c_bus: +#i2c_software_scl_pin: +#i2c_software_sda_pin: +#i2c_speed: 400000 +# See the "common I2C settings" section for a description of the +# above parameters. The default "i2c_speed" is 400000. +#axes_map: x, y, z +# See the "adxl345" section for information on this parameter. +``` + +### [lis3dh] + +Support for LIS3DH accelerometers. + +``` +[lis3dh] +#cs_pin: +# The SPI enable pin for the sensor. This parameter must be provided +# if using SPI. #spi_speed: 5000000 # The SPI speed (in hz) to use when communicating with the chip. # The default is 5000000. @@ -1686,6 +1718,15 @@ cs_pin: #spi_software_miso_pin: # See the "common SPI settings" section for a description of the # above parameters. +#i2c_address: +# Default is 25 (0x19). If SA0 is high, it would be 24 (0x18) instead. +#i2c_mcu: +#i2c_bus: +#i2c_software_scl_pin: +#i2c_software_sda_pin: +#i2c_speed: 400000 +# See the "common I2C settings" section for a description of the +# above parameters. The default "i2c_speed" is 400000. #axes_map: x, y, z # See the "adxl345" section for information on this parameter. ``` |