change blink to use PICO_DEFAULT_LED_PIN to support other boards (#57)

* change blink to use PICO_DEFAULT_LED_PIN to support other boards

* also update pio/pwm and picoboard/blinky system/hello_double_tap
This commit is contained in:
Ha Thach
2021-02-22 22:08:12 +07:00
committed by GitHub
parent 6a53ff302b
commit 1be0e7fc28
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
#include "pico/stdlib.h"
#include "hardware/gpio.h"
const uint LED_PIN = 25;
const uint LED_PIN = PICO_DEFAULT_LED_PIN;
const uint DOT_PERIOD_MS = 100;
const char *morse_letters[] = {