185,6 → 185,7 |
|
#if (MOTORADRESSE == 0) |
PORTB |= (ADR1 + ADR2); // Pullups für Adresswahl |
for(test=0;test<500;test++); |
if (PINB & ADR1) |
{ |
if (PINB & ADR2) MotorAdresse = 1; |
349,11 → 350,11 |
SetPWM(); |
SENSE_TOGGLE_INT; |
ENABLE_SENSE_INT; |
MinUpmPulse = SetDelay(100); |
MinUpmPulse = SetDelay(20); |
while(!CheckDelay(MinUpmPulse)); // kurz Synchronisieren |
PWM = 10; |
PWM = 15; |
SetPWM(); |
MinUpmPulse = SetDelay(200); |
MinUpmPulse = SetDelay(300); |
while(!CheckDelay(MinUpmPulse)); // kurz Durchstarten |
|
// Drehzahlmessung wieder aufsetzen |