Skip to content

Commit 85d0ed7

Browse files
committed
Missing file
1 parent cefc960 commit 85d0ed7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

button_input.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#ifndef BUTTONINPUT_H_
2+
#define BUTTONINPUT_H_
3+
4+
#include "nrf_gpio.h"
5+
#define PIN_BUTTON 10
6+
#define PIN_BUTTON2 9
7+
#define isButtonPressed !nrf_gpio_pin_read(PIN_BUTTON)
8+
#define isButton2Pressed !nrf_gpio_pin_read(PIN_BUTTON2)
9+
10+
#endif

0 commit comments

Comments
 (0)