Rev 312 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 312 | Rev 323 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | { |
62 | { |
Line 63... | Line 63... | ||
63 | 63 | ||
64 | 64 | ||
65 | if (MM3_heading() > 0) { KompassValue = 360-MM3_heading();} |
- | |
66 | if (MM3_heading() < 0 ) { KompassValue = MM3_heading()*-1;} |
- | |
Line 67... | Line 65... | ||
67 | 65 | if (MM3_heading() > 0) { KompassValue = 360-MM3_heading();} |
|
68 | - | ||
Line 69... | Line 66... | ||
69 | 66 | if (MM3_heading() < 0 ) { KompassValue = MM3_heading()*-1;} |
|
70 | KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360); |
67 | |
71 | 68 | KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360)- 180; |
|
Line 72... | Line 69... | ||
72 | 69 |