Hello all,
I'm very new to pic progreaming and just purchased PICAXE VSM.
I want to build a circuit to run a 12 volts motor with external power 12 V supply.
However I want to provide 12 volts to the motor for 5 sec, then 6 volts for 10 sec and finally 4.5 volts for 20 sec and repeat the cycle again and again.
I'm thinking to use PWMOUT to change the voltage.
Am I in the right track?
Can some one help me as how the code should look like?
Thanks
Alex
I'm very new to pic progreaming and just purchased PICAXE VSM.
I want to build a circuit to run a 12 volts motor with external power 12 V supply.
However I want to provide 12 volts to the motor for 5 sec, then 6 volts for 10 sec and finally 4.5 volts for 20 sec and repeat the cycle again and again.
I'm thinking to use PWMOUT to change the voltage.
Am I in the right track?
Can some one help me as how the code should look like?
Thanks
Alex