Fixed build issue

This commit is contained in:
Ziver Koc 2016-02-24 21:51:16 +01:00
parent bfc7308cce
commit 853f1d0fe8
14 changed files with 172 additions and 115 deletions

View file

@ -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