I upgraded my zbasic install the other day as in my previous post regards ubound I was advised one of the issues had been fixed.
Strangely my cruise control project then stopped being able to operate the pedal. The motor wines but does not move.
After much head scratching I down graded (uninstall, then install) to 4-1-8 and it once again worked ok. I then went to 4-2-3 and it didn't work, and then to 4-2-4 and the same issue.
Without more time tonight, I can only say the problem is something around PWM, and passing of the duty parameter perhaps. My debug logs running on both versions are identical, passing a parameter of 5 for bySpeedSet to
Call PWM(byAccel,bySpeedSet)
The pwm is opened using:-
Call OpenPWM(byAccel, snFast, zxFastPWM)
where snFast=500.0
I've run out of time tonight, any pointers much appreciated.
Post 4-1-8 issues
Re: Post 4-1-8 issues
Which ZX device are you using?FFMan wrote:I can only say the problem is something around PWM, and passing of the duty parameter perhaps.
- Don Kinzer