Alarm Sensor Module  0.1
⇒ back to Project Page
isr.c
Go to the documentation of this file.
1 #include <stdint.h>
2 #include <avr/io.h>
3 #include <avr/interrupt.h>
4 #include <util/delay.h>
5 
6 #include "alarm_sensor.h"
7 #include "port_definitions.h"
8 
9 
11 extern volatile uint8_t time_scale;
12 
13 
14 
15 /****************************************************************************/
27 /****************************************************************************/
28 
29 ISR(TIMER2_COMPA_vect) {
30 
31  time_scale++;
32 
33 }
volatile uint8_t time_scale
global variables for ISR
Definition: main.c:78
ISR(TIMER2_COMPA_vect)
Definition: isr.c:29
Contains the main definitions of the alarm sensor module.