mirror of
https://github.com/whowechina/geki_pico.git
synced 2026-10-10 08:18:09 +03:00
Small fix that may help power ripple
This commit is contained in:
Binary file not shown.
@@ -33,7 +33,7 @@ void lever_init()
|
||||
adc_select_input(ADC_CHANNEL);
|
||||
|
||||
// pwm mode for lower power ripple
|
||||
gpio_set_function(25, GPIO_FUNC_PWM);
|
||||
gpio_init(25);
|
||||
gpio_set_dir(25, GPIO_OUT);
|
||||
gpio_put(25, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user