kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Badger2040: Light the act LED immediately on wake
rodzic
eb2e55b27c
commit
1f1f9b00df
|
@ -12,6 +12,10 @@ namespace {
|
|||
gpio_set_function(pimoroni::Badger2040::ENABLE_3V3, GPIO_FUNC_SIO);
|
||||
gpio_set_dir(pimoroni::Badger2040::ENABLE_3V3, GPIO_OUT);
|
||||
gpio_put(pimoroni::Badger2040::ENABLE_3V3, 1);
|
||||
|
||||
gpio_set_function(pimoroni::Badger2040::LED, GPIO_FUNC_SIO);
|
||||
gpio_set_dir(pimoroni::Badger2040::LED, GPIO_OUT);
|
||||
gpio_put(pimoroni::Badger2040::LED, 1);
|
||||
}
|
||||
|
||||
bool any() const {
|
||||
|
|
Ładowanie…
Reference in New Issue