Skip to content

Commit ceccc25

Browse files
committed
change backlight to tcc4 so it doesnt collide with servo
1 parent 6076e22 commit ceccc25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/pyportal_m4/variant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const PinDescription g_APinDescription[]=
7575

7676
// 24..26 more TFT control lines
7777
{ PORTA, 0, PIO_DIGITAL , PIN_ATTR_PWM_E , No_ADC_Channel, TC2_CH0 , TC2_CH0 , EXTERNAL_INT_0 }, // TFT_RESET
78-
{ PORTB, 31, PIO_DIGITAL , PIN_ATTR_PWM_E , No_ADC_Channel, TC0_CH1 , TC0_CH1 , EXTERNAL_INT_15 }, // TFT_BACKLITE
78+
{ PORTB, 31, PIO_DIGITAL , PIN_ATTR_PWM_F , No_ADC_Channel, TCC4_CH1 , TCC4_CH1 , EXTERNAL_INT_15 }, // TFT_BACKLITE
7979
{ PORTB, 9, PIO_DIGITAL , (PIN_ATTR_ANALOG|PIN_ATTR_PWM_E), ADC_Channel3 , TC4_CH1 , TC4_CH1 , EXTERNAL_INT_9 }, // TFT_WR, CCL/OUT[2]
8080

8181
// 27..28 I2C pins

0 commit comments

Comments
 (0)