mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 19:23:34 +08:00
* Adds configurable I2C address for PCA9685 PWM driver Introduces a parameter to set the I2C address for the PCA9685 PWM output driver, enhancing flexibility for hardware variations. Updates documentation and board initialization scripts to support the new configuration and streamline device startup. * Update src/drivers/pca9685_pwm_out/module.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/drivers/pca9685_pwm_out/module.yaml --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
18 lines
379 B
Bash
18 lines
379 B
Bash
#!/bin/sh
|
|
#
|
|
# board specific defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
# system_power not implemented
|
|
param set CBRK_SUPPLY_CHK 894281
|
|
|
|
# 1K + 4.7K
|
|
param set BAT1_V_DIV 5.7
|
|
|
|
# Always keep current config
|
|
param set SYS_AUTOCONFIG 0
|
|
|
|
# PCA9685 PWM Out defaults
|
|
param set-default PCA9685_EN_BUS 4
|
|
param set-default PCA9685_I2C_ADDR 64
|