Skip to content

Commit

Permalink
Align MICROBIT_PIN_EVENT_ON_* with codal
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Jun 8, 2020
1 parent 673228f commit 2443beb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/drivers/MicroBitPin.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ DEALINGS IN THE SOFTWARE.
#define MICROBIT_PIN_DEFAULT_SERVO_CENTER 1500

#define MICROBIT_PIN_EVENT_NONE 0
#define MICROBIT_PIN_EVENT_ON_EDGE 1
#define MICROBIT_PIN_EVENT_ON_PULSE 2
#define MICROBIT_PIN_EVENT_ON_TOUCH 3
#define MICROBIT_PIN_EVENT_ON_EDGE 2
#define MICROBIT_PIN_EVENT_ON_PULSE 3
#define MICROBIT_PIN_EVENT_ON_TOUCH 4

#define MICROBIT_PIN_EVT_RISE 2
#define MICROBIT_PIN_EVT_FALL 3
Expand Down

0 comments on commit 2443beb

Please sign in to comment.