add ledOff ledOn ledToggle function

This commit is contained in:
hathach committed 2017-02-10 13:27:27 +07:00
1 parent d86127990a
commit 0ebf2d4dca
4 files changed
+26 -4

No files matched your search

+2 -2
View File
@@ -40,10 +40,10 @@ extern "C"
// LEDs
#define PIN_LED1 (17)
#define PIN_LED2 (19)
//#define PIN_LED3 (8)
//#define PIN_LED4 (9)
#define LED_BUILTIN PIN_LED1
#define LED_CONN PIN_LED2
#define LED_STATE_ON 1
// Buttons
/*