Skip to content

Commit

Permalink
add Arduino fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoyu committed Feb 6, 2020
1 parent cb0b3cd commit 1303432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions key.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ extern "C"
#define DEBOUNCING 50 //debouncing delay
#define LONG_PRESS_INTERVAL 5000 //long press delay

//#define KEY digitalRead(PD4)
#define KEY HAL_GPIO_ReadPin(GPIOA, BTN_Pin)

#define ACTIVE_HIGH
Expand Down

0 comments on commit 1303432

Please sign in to comment.