Fixed build issue
This commit is contained in:
parent
bfc7308cce
commit
853f1d0fe8
14 changed files with 172 additions and 115 deletions
|
|
@ -1,6 +1,9 @@
|
|||
#ifndef INTERRUPT_H
|
||||
#define INTERRUPT_H
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
typedef void (*InterruptFunction) ();
|
||||
|
||||
class Interrupt
|
||||
|
|
@ -10,9 +13,10 @@ public:
|
|||
|
||||
//static void sleep(int milliseconds);
|
||||
void setupPinInterrupt(int pin);
|
||||
void setupTimerInterrupt(int milliseconds);
|
||||
void setupTimerInterrupt(unsigned int milliseconds);
|
||||
private:
|
||||
InterruptFunction callback;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INTERRUPT_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue