Rev 854 | Rev 884 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 854 | Rev 855 | ||
---|---|---|---|
Line 375... | Line 375... | ||
375 | WinkelOut.Winkel[0] = (int) (IntegralNick / 108); // etwa in 0,1 Grad |
375 | WinkelOut.Winkel[0] = (int) (IntegralNick / 108); // etwa in 0,1 Grad |
376 | WinkelOut.Winkel[1] = (int) (IntegralRoll / 108); // etwa in 0,1 Grad |
376 | WinkelOut.Winkel[1] = (int) (IntegralRoll / 108); // etwa in 0,1 Grad |
377 | WinkelOut.UserParameter[0] = Parameter_UserParam1; |
377 | WinkelOut.UserParameter[0] = Parameter_UserParam1; |
378 | WinkelOut.UserParameter[1] = Parameter_UserParam2; |
378 | WinkelOut.UserParameter[1] = Parameter_UserParam2; |
379 | SendOutData('w',MeineSlaveAdresse,(unsigned char *) &WinkelOut,sizeof(WinkelOut)); |
379 | SendOutData('w',MeineSlaveAdresse,(unsigned char *) &WinkelOut,sizeof(WinkelOut)); |
380 | if(WinkelOut.CalcState > 4) WinkelOut.CalcState = 0; |
380 | if(WinkelOut.CalcState > 4) WinkelOut.CalcState = 6; // wird dann in SPI auf Null gesetzt |
381 | Kompass_Timer = SetDelay(99); |
381 | Kompass_Timer = SetDelay(99); |
382 | } |
382 | } |
Line 383... | Line 383... | ||
383 | 383 | ||
384 | if((CheckDelay(Debug_Timer) || DebugDataAnforderung) && UebertragungAbgeschlossen) |
384 | if((CheckDelay(Debug_Timer) || DebugDataAnforderung) && UebertragungAbgeschlossen) |