I think what you are talking about is 'VERY VERY Very slow speed PWM'
Is the code in your other post about the same subject still the same?
I think what you are talking about is 'VERY VERY Very slow speed PWM'
Is the code in your other post about the same subject still the same?
I had figured out how to do the other post by using the code below...
ON_TIME:
PAUSE 525 ' low end pause time
for i = 1 to ON_counter step 1 ' high end pause loop time
GOSUB READ_A_D_AN0
PAUSEus 4750
nEXT I
RETURN
OFF_TIME:
PAUSE 525 ' low end pause time
for i = 1 to OFF_counter step 1 ' high end pause loop time
GOSUB READ_A_D_AN1
PAUSEus 4750
nEXT I
RETURN
I used this with AD on the two pots and then just called on time of off time when it was neccessary. But now i have to coordinate these two time ranges together as explained above. I appreciate your help.
Bookmarks