Browse Source

AP_HAL: GPIO INTERRUPT defines

mission-4.1.18
Pat Hickey 12 years ago committed by Andrew Tridgell
parent
commit
1678dcc6f0
  1. 6
      libraries/AP_HAL/GPIO.h

6
libraries/AP_HAL/GPIO.h

@ -8,8 +8,10 @@ @@ -8,8 +8,10 @@
#define GPIO_INPUT 0
#define GPIO_OUTPUT 1
#define GPIO_FALLING 2
#define GPIO_RISING 3
#define GPIO_INTERRUPT_LOW 0
#define GPIO_INTERRUPT_HIGH 1
#define GPIO_INTERRUPT_FALLING 2
#define GPIO_INTERRUPT_RISING 3
class AP_HAL::DigitalSource {
public:

Loading…
Cancel
Save