code problem
Nado1984
Posts: 3
Hello Forum ,
i have little problem,
I have the connection in the attachment , and this is a part of my code relating to motor enable ( motor start "low" , motor stop"high")
·when i connect the motor enable to the ground the motor·start , but with this connection the motor doesn't start.
it's a problem from the code or from schema ?
Thank you in advance.
i have little problem,
I have the connection in the attachment , and this is a part of my code relating to motor enable ( motor start "low" , motor stop"high")
CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 XMOTOR_ENABLE_N = 3 DAT org 0 or dira,motorEnablePinN motorEnablePinN long |< XMOTOR_ENABLE_N fit 496
·when i connect the motor enable to the ground the motor·start , but with this connection the motor doesn't start.
it's a problem from the code or from schema ?
Thank you in advance.
Comments
-Phil
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 10/13/2009 9:10:47 PM GMT
Why not do it in Spin instead, if all you want to do is test the motor driver?
-Phil
Thanks in advance.
in SPIN it is the same as making an LED blink. That's all
best regards
Stefan