Rev 395 | Rev 402 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 395 | Rev 401 | ||
---|---|---|---|
Line 183... | Line 183... | ||
183 | { |
183 | { |
184 | if (UpdateMotor) // ReglerIntervall |
184 | if (UpdateMotor) // ReglerIntervall |
185 | { |
185 | { |
186 | // SPI_TransmitByte(); |
186 | // SPI_TransmitByte(); |
187 | UpdateMotor=0; |
187 | UpdateMotor=0; |
- | 188 | PORTD |= 0x08; |
|
188 | MotorRegler(); |
189 | MotorRegler(); |
- | 190 | PORTD &= ~0x08; |
|
189 | SendMotorData(); |
191 | SendMotorData(); |
190 | ROT_OFF; |
192 | ROT_OFF; |
191 | if(PcZugriff) PcZugriff--; |
193 | if(PcZugriff) PcZugriff--; |
192 | if(SenderOkay) SenderOkay--; |
194 | if(SenderOkay) SenderOkay--; |
193 | if(!I2CTimeout) |
195 | if(!I2CTimeout) |