Laut Schaltbild werden die 15V von dem Tiny kontrolliert. Die PWM ist bei meiner Neuprogrammierung nicht mehr auf einer Seite Invertiert. Ich setzte die aber auch auf 0.
'PWM einstellen'Anders als bei WOF105 wird keines der PWM-Signale invertiert. (TCCR1A.6 ist anders)Tccr1a = &B11110001'Bit7 1 COM1A1 Set OC1A/OC1B on compare match, clear OC1A/OC1B at TOP'Bit6 1 COM1A0 Set OC1A/OC1B on compare match, clear OC1A/OC1B at TOP'Bit5 1 COM1B1 Set OC1A/OC1B on compare match, clear OC1A/OC1B at TOP'Bit4 1 COM1B0 Set OC1A/OC1B on compare match, clear OC1A/OC1B at TOP'Bit3 0 FOC1A Force Output Compare for Channel A'Bit2 0 FOC1B Force Output Compare for Channel B'Bit1 0 WGM11 Wafeform Generation Mode'Bit0 1 WGM10 Wafeform Generation ModeTccr1b = &B00000001'Bit7 0 ICNC1 Input Capture Noise Canceler'Bit6 0 ICES1 Input Capture Edge Select'Bit5 0 - Reserved Bit'Bit4 0 WGM13 Waveform Generation Mode'Bit3 0 WGM12 Waveform Generation Mode'Bit2 0 CS12 Clock Select'Bit1 0 CS11 Clock Select'Bit0 1 CS10 Clock Select'CS12, CS11, CS10'0, 0, 1 -> CLK/1 No Prescaling'WGM13, WGM12, WGM11, WGM10'0, 0, 0, 1 -> PWM, Phase Correct, 8-bit'erstmal alles stoppenAntrieb = AusPwm_links = 0Pwm_rechts = 0Richtung_links = 0Richtung_rechts = 0
Es passiert genau während dem Flashen. Die Software läuft dabei also garnicht.