Full application
Dependencies: mbed libTCS34725 lib_LoRaWAN
Diff: main.cpp
- Revision:
- 1:c3a839871165
- Parent:
- 0:1cadcdcf4521
- Child:
- 2:7040e447d0df
diff -r 1cadcdcf4521 -r c3a839871165 main.cpp --- a/main.cpp Wed Jan 16 13:05:42 2019 +0000 +++ b/main.cpp Wed Jan 16 13:19:41 2019 +0000 @@ -1,8 +1,8 @@ #include "mbed.h" -InterruptIn button(USER_BUTTON); +InterruptIn button(PG_0); -DigitalOut led(LED1); +DigitalOut led(PD_14); double delay = 0.5; // 500 ms