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,8 +1,11 @@
#include "Interrupt.h"
#include <avr/power.h>
#include <avr/sleep.h>
void Interrupt::pinInterrupt() // here the interrupt is handled after wakeup
void pinInterrupt() // here the interrupt is handled after wakeup
{
// execute code here after wake-up before returning to the loop() function
// timers and code using timers (serial.print and more...) will not work here.
@ -10,7 +13,12 @@ void Interrupt::pinInterrupt() // here the interrupt is handled after wak
// just want the thing to wake up
}
void Interrupt::setupInterrupt()
void Interrupt::setupPinInterrupt(int pin)
{
}
void Interrupt::setupTimerInterrupt(unsigned int milliseconds)
{
/*
* The 5 different modes are: