Skip to content
Snippets Groups Projects
irq.cpp 232 B
Newer Older

#include "irq.h"

#include <avr/io.h>
#include <avr/interrupt.h>
#include "Potenciometr.h"

ISR(ADC_vect)
{
    potenciometr.irq_handler();
}

ISR(TIMER0_OVF_vect)
{
    potenciometr.start_conversion();
}

ISR(USART_RXC_vect)
{

}