Need advice on project
anita1984
Posts: 23
I have been doing a lot of reading and playing with sample codes( Spin language), but I’m missing something.
I believe the code I need will only be a dozens lines, so I keep reading and trying.The first step on my project is to control the speed of a motor( in Propeller Assembly language ) from 1 up to 4KHz and duty cycle 50%.I don't know in this case what is better to choose CTRMODE : %0001X for clock generation or CTRMODE : %0010X NCO ????
NB: i don't need to generate a PWM signal.
Thank you in Advance
I believe the code I need will only be a dozens lines, so I keep reading and trying.The first step on my project is to control the speed of a motor( in Propeller Assembly language ) from 1 up to 4KHz and duty cycle 50%.I don't know in this case what is better to choose CTRMODE : %0001X for clock generation or CTRMODE : %0010X NCO ????
NB: i don't need to generate a PWM signal.
Thank you in Advance
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
http://forums.parallax.com/showthread.php?p=617192
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.