28 lines
460 B
C++
28 lines
460 B
C++
/*
|
|
* Zeitschaltung_V6.cpp
|
|
*
|
|
* Created: 06.05.2014 23:18:58
|
|
* Author: netz
|
|
*/
|
|
#include "peripheral.h"
|
|
#include "comunication/funk.hpp"
|
|
|
|
typedef Funk<
|
|
rfm12class, //Rfm12 Funk Hardware
|
|
moveclass, //Bewegungsmelder
|
|
startclass, //Startknopf
|
|
servoclass, //Servo
|
|
ledclass //LED
|
|
> funkclass;
|
|
funkclass funk;
|
|
|
|
int main(void) {
|
|
while(1)
|
|
{
|
|
funk.worker();
|
|
}
|
|
}
|
|
|
|
ISR(TIMER0_OVF_vect) {
|
|
funk.timer();
|
|
}
|