THW-Funk-Audio-Switch/Programm/Audio-Switch/main.cpp

31 lines
354 B
C++
Raw Permalink Normal View History

2020-10-19 18:16:51 +02:00
/*
* Audio-Switch.cpp
*
* Created: 19.10.2020 17:26:46
* Author : netz
*/
#include "Programm.hpp"
#include <avr/interrupt.h>
Programm p;
int main(void) {
sei();
p.Setup();
while (1) {
p.Loop();
}
}
ISR(INT0_vect) {
2020-10-30 23:22:11 +01:00
p.Vect_Ptt();
2020-11-02 00:27:02 +01:00
}
ISR(ANALOG_COMP_vect) {
p.Vect_Comp();
}
ISR(TIMER1_COMPA_vect) {
p.Vect_Timer();
2020-10-19 18:16:51 +02:00
}