Hallo, bin gerade am Testen des Schleifensenders.
Ist euch aufgefallen, das M1nSF = Pin4 sporadisch auf low geht, wenn man das Testsignal verwendet?
Folgender if Befehl wird ausgeführt:
Ich vermute, dass kommt durch die Nullen. Warum weiß ich nicht genau.
Irgendwie muss dann folgende Bedingung erfüllt sein:
https://www.pololu.com/product/1213
Ist euch aufgefallen, das M1nSF = Pin4 sporadisch auf low geht, wenn man das Testsignal verwendet?
Folgender if Befehl wird ausgeführt:
Code:
if ( USE_PERI_FAULT && (dutyPWM == 255) && (digitalRead(pinFault) == LOW) ) {
enableSender = false;
Serial.print("2. enableSender = false;"); Serial.println();
dutyPWM = 0;
analogWrite(pinPWM, dutyPWM);
fault();
}
Ich vermute, dass kommt durch die Nullen. Warum weiß ich nicht genau.
Irgendwie muss dann folgende Bedingung erfüllt sein:
Pin /SF
Default HIGH
Status flag output: an over-current (short circuit) or over-temperature event will cause SF to be latched LOW. If either of the disable pins (D1 or D2) are disabling the outputs, SF will also be LOW. Otherwise, this pin is weakly pulled high. This allows the two SF pins on the board to be tied together and connected to a single MCU input.
https://www.pololu.com/product/1213