Rev 902 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
889 | Nick666 | 1 | /*####################################################################################### |
2 | |||
3 | #######################################################################################*/ |
||
4 | |||
5 | extern volatile int UBat; |
||
6 | extern volatile int AdWertNick, AdWertRoll, AdWertGier; |
||
7 | extern volatile int AdWertAccRoll,AdWertAccNick,AdWertAccHoch; |
||
8 | extern volatile int Aktuell_Nick,Aktuell_Roll,Aktuell_Gier,Aktuell_ax, Aktuell_ay,Aktuell_az; |
||
9 | extern volatile long Luftdruck; |
||
10 | extern volatile unsigned int ZaehlMessungen; |
||
11 | extern unsigned char DruckOffsetSetting; |
||
12 | extern volatile int HoeheD; |
||
13 | extern volatile unsigned int MessLuftdruck; |
||
14 | extern volatile int StartLuftdruck; |
||
15 | extern volatile char MessanzahlNick; |
||
16 | |||
17 | unsigned int ReadADC(unsigned char adc_input); |
||
18 | void ADC_Init(void); |
||
19 | void SucheLuftruckOffset(void); |
||
20 | |||
21 | |||
893 | Nick666 | 22 | #define ADC_START ADCSRA |= (1<<ADSC) |