Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StartPower(Power1, Power2) command type #15

Open
laurentchar opened this issue Jan 31, 2020 · 1 comment
Open

StartPower(Power1, Power2) command type #15

laurentchar opened this issue Jan 31, 2020 · 1 comment

Comments

@laurentchar
Copy link

Hello,

The StartPower(Power1, Power2) function (Output Command 0x81 - Sub Command 0x02) is stated as using the "WriteDirectDataMode" (0x81, 0x51, mode undefined?).
I believe it is a error/typo since no mode is defined for the WriteDirectDataMode command and mode=0x02 is already used by PresetEncoder(Position).

It should most likely use the normal "Port Output Command" (0x81, 0x02).

Best Regards,
Laurent

@tthiery
Copy link

tthiery commented Jun 16, 2020

I can confirm this. by treating the command not a WriteDirectDataMode but instead as a SubCommand 0x02 (and I guess therefore addressing the Hub and not the port), the method StartPower(power1, power2) start to work as expected. Lost some 30mins because of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants