Rev 401 | Rev 515 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 401 | Rev 492 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | kanal = 2; |
100 | kanal = 2; |
101 | break; |
101 | break; |
102 | case 8: |
102 | case 8: |
103 | if(PlatinenVersion == 10) AdWertNick = (ADC + nick1) / 2; |
103 | if(PlatinenVersion == 10) AdWertNick = (ADC + nick1) / 2; |
104 | else AdWertNick = ADC + nick1; |
104 | else AdWertNick = ADC + nick1; |
- | 105 | //AdWertNick = 0; |
|
- | 106 | //AdWertNick += Poti2; |
|
105 | kanal = 5; |
107 | kanal = 5; |
106 | break; |
108 | break; |
107 | case 9: |
109 | case 9: |
108 | AdWertAccHoch = (signed int) ADC - NeutralAccZ; |
110 | AdWertAccHoch = (signed int) ADC - NeutralAccZ; |
109 | AdWertAccHoch += abs(Aktuell_ay) / 4 + abs(Aktuell_ax) / 4; |
111 | AdWertAccHoch += abs(Aktuell_ay) / 4 + abs(Aktuell_ax) / 4; |