Skip to content

Commit

Permalink
AP_HAL_ChibiOS: Here4FC change WS2812 led PWM to 10/11
Browse files Browse the repository at this point in the history
Changed the PWM from 9/10 to 10/11 for the WS2812 leds
  • Loading branch information
haydendonald authored and peterbarker committed Jan 11, 2025
1 parent 0f8f2b2 commit 6095512
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/Here4FC/defaults.parm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# setup for ProfiLED
SERVO9_FUNCTION 132
SERVO10_FUNCTION 129
SERVO10_FUNCTION 132
SERVO11_FUNCTION 129
NTF_LED_TYPES 512
NTF_LED_BRIGHT 2
NTF_LED_LEN 4
Expand Down
4 changes: 2 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/Here4FC/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ IMU Invensensev3 SPI:icm42688 ROTATION_YAW_270
define HAL_DEFAULT_INS_FAST_SAMPLE 5

# WS2812 LED
PB8 TIM4_CH3 TIM4 PWM(9)
PB9 TIM4_CH4 TIM4 PWM(10)
PB8 TIM4_CH3 TIM4 PWM(10)
PB9 TIM4_CH4 TIM4 PWM(11)

PD11 GPS_TP1 OUTPUT LOW GPIO(5)
PD7 GPS_PPS INPUT PULLUP GPIO(6)
Expand Down

0 comments on commit 6095512

Please sign in to comment.