Actually, Jim has been asking that I put 'ramping down' speed control into the pwm command (it current has ramping up speed control).
So, I'll add this new functionality to the firmware over the next day or so, and then post it w/ the pwm max speed fix too. Until then, please use 127/128 for max pwm speed values.
Outstanding! I can definitely use the PWM enhancement and the fix.
RC Rocks!
James Y. Wilson http://www.learningce.com Fortudine Vincimus!
Patrick,
First, thank you for the compliments! It certainly feels good to hear that customers realize how easy and quick the Serializer is to use. Also, it makes it worth the hundreds of hours that myself, and Ringo have put into the Serializer from a hardware and software perspective. While it's not perfect, it is very mature, and the firmware has remained very stable for some time now. Most firmware revisions are to add functionality, instead of bug fixing (although not true for the upcoming release. :) LoL).
Since we're just a bunch of introverted Engineers here, we do a less that optimal job of promoting the Serializer. :) So, I don't think it's as widely know as the Brainstem, OOPic-R, and Phidgets.
It's also nice to have customers like Jim Wilson write C++ libs to complement the Serializer .NET library and MSRS services...It just makes for a better product, with even more ways to easily access and use the API.
Ringo and I hope we sell a gazillion of them too! :)
Thank again!
Patrick, Jim,
I just finished revamping the pwm ramping mechanism.
You can now ramp up/down to any speed from any speed. The interface follows the interface discussed below.
The pwm interface is currently:
Pwm [r:rate] id:pwm [id:pwm]
Fortunately, the interface didn't change, but rather the internal logic. The logic works as follows:
1.) If speed is 0, then ramp up to the specified speed using the ramping rate specified
2.) If speed is equal to the current value of speed, then do no ramping, or speed change
3.) If speed is less than the current value of speed, then ramp down to the specified speed using the ramping rate specified.
I have tested almost all of the permutations that you could possibly encounter, but I have a one more left.
The only problem I currently see is that when you ramp up to 100, and then ramp down to -100. It immediately goes to -100 (and vice versa).
So, I’ll look at it a little longer and try to fix this.
Ringo also fixed the pwm max value (scaling) problem. Now, you get full pwm output.
We should have an official release ready by Wednesday night (we'll have to update the User Guide, etc.).
Best Regards!