blackbox/main.h

changeset 69
27c0c0095e26
parent 64
61f88f973eba
child 73
ec888cfa024e
equal deleted inserted replaced
68:c3460121ad8b 69:27c0c0095e26
2 #define MAIN_H 2 #define MAIN_H
3 3
4 #include <avr/wdt.h> 4 #include <avr/wdt.h>
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #define VERSION "1.3" 7 #define VERSION "1.4"
8 8
9 #define COUNTDOWN_DELAY 10 // x/10 seconds 9 #define COUNTDOWN_DELAY 10 // x/10 seconds
10 10
11 // Hardware config 11 // Hardware config
12 #define LAP_COUNTER_PORT PORTB 12 #define LAP_COUNTER_PORT PORTB
13 #define LAP_COUNTER PB2 13 #define LAP_COUNTER PB2
14 14
15 #define MODUL_PORT PORTD 15 #define MODUL_PORT PORTD
16 #define MODUL_ST4 PD5 16 #define MODUL_ST4 PD5
17 #define MODUL_ST6 PD6 17 #define MODUL_ST6 PD6
18
19 #define RESPONSEWIRE_PORT MODUL_PORT
20 #define RESPONSEWIRE_PIN MODUL_ST4
18 21
19 #define I2C_PORT PORTC 22 #define I2C_PORT PORTC
20 #define I2C_SCL PC0 23 #define I2C_SCL PC0
21 #define I2C_SDA PC1 24 #define I2C_SDA PC1
22 25

mercurial