klappt wieder nicht

komischerweise funktioniert die steuerung über PWM

aber die simple direkte ansteuerung nicht ist was kaputt??

bitte helfen

Declare Sub Motortest()
$regfile = "m32def.dat"

Config Pinc.6 = Output
Config Pinc.7 = Output
Config Pind.4 = Output

Config Pinb.0 = Output
Config Pinb.1 = Output
Config Pind.5 = Output

Call Motortest()

wait 40

Portc.6 = 0
Portc.7 = 0
Portc.4 = 0

Portb.0 = 0
Portb.1 = 0
Portd.5 = 0

Sub Motortest()

Portc.6 = 1
Portc.7 = 0
Portd.4 = 1

Portb.0 = 1
Portb.1 = 0
Portd.5 = 1


End Sub