Hello
I am new to using the capture, capare/campare and PWM operations. I am using a Pic16F628a and could use some direction. Here is what I want to do. I want to set up a Pot and have the mcu read the value to see if it increases or decreases then adjust a delay accordingly. I am not sure about what way to go. I have the data sheet and the mid-range manual. and having fun trying to figure it out but I am not getting a desired result. Pretty much what I am doing is using the code on the data sheets and running them in the MPLAB simulator, watching the file registers and changing this and that around to see what happens and watch some more. End results would be making a speed control for a stepper motor.
Could anyone steer me in the right direction.
Thanks in advance.
gogo
I am new to using the capture, capare/campare and PWM operations. I am using a Pic16F628a and could use some direction. Here is what I want to do. I want to set up a Pot and have the mcu read the value to see if it increases or decreases then adjust a delay accordingly. I am not sure about what way to go. I have the data sheet and the mid-range manual. and having fun trying to figure it out but I am not getting a desired result. Pretty much what I am doing is using the code on the data sheets and running them in the MPLAB simulator, watching the file registers and changing this and that around to see what happens and watch some more. End results would be making a speed control for a stepper motor.
Could anyone steer me in the right direction.
Thanks in advance.
gogo