Rev 1272 | Rev 1322 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1272 | Rev 1320 | ||
---|---|---|---|
Line 110... | Line 110... | ||
110 | static signed int accy, accx; |
110 | static signed int accy, accx; |
Line 111... | Line 111... | ||
111 | 111 | ||
112 | static long tmpLuftdruck = 0; |
112 | static long tmpLuftdruck = 0; |
113 | static char messanzahl_Druck = 0; |
113 | static char messanzahl_Druck = 0; |
114 | static long SummenHoehe = 0; |
- | |
115 | 114 | static long SummenHoehe = 0; |
|
116 | switch(state++) |
115 | switch(state++) |
117 | { |
116 | { |
118 | case 0: |
117 | case 0: |
119 | nick1 = ADC; |
118 | nick1 = ADC; |
Line 242... | Line 241... | ||
242 | kanal = 0; state = 0; kanal = AD_NICK; |
241 | kanal = 0; state = 0; kanal = AD_NICK; |
243 | break; |
242 | break; |
244 | } |
243 | } |
245 | ADMUX = kanal; |
244 | ADMUX = kanal; |
246 | if(state != 0) ANALOG_ON; |
245 | if(state != 0) ANALOG_ON; |
- | 246 | ||
247 | } |
247 | } |
Line 248... | Line 248... | ||
248 | 248 |