Releases: Wauro21/SMCC
SMCC - Alpha release 0.0.2!
This release solves a bug found when using the HALT and INFO commands with the sendCommand
function.
For the step and setup commands, the controller always reply with the actions taken, if the actions replied by the controller matches the ones found on the sent command, the controller is working properly. Nevertheless, the commands HALT and INFO are somewhat different, so the controller gives some other information or acknowledge to the API. The old sendCommand
function checks that every response matches the command, if not it raises an Exception. This was a problem because sending a HALT or INFO command resulted on an unwanted Exception. This is now fixed with the inclusion of a new parameter check
, that indicates if the function must check symmetry in the response or not.
Everything was updated accordingly on the docs, hope this one works better!
Changelog
sendCommand
function now includes acheck
parameter defaulted to true, that indicates if symmetry in the response must be enforced.HALT_CMD
now only sends one byte instead of three (1 command byte and 2 padding bytes).INFO_CMD
now only sends one byte instead of three (1 command byte and 2 padding bytes).
SMCC - Alpha release 0.0.1!
This is the first alpha release of the SMCC!
Hopefully it makes some motors spin in the right direction and doesn't break anything on the way there