VISCA_set_pantilt_absolute_position Does not work
Brought to you by:
ddouxchamps
The reason is invalid protocol implementation in this function:
replace:
_VISCA_append_byte(&packet, (pan_pos & 0xf0000) >> 16);
_VISCA_append_byte(&packet, (pan_pos & 0x0f000) >> 12);
_VISCA_append_byte(&packet, (pan_pos & 0x00f00) >> 8);
_VISCA_append_byte(&packet, (pan_pos & 0x000f0) >> 4);
_VISCA_append_byte(&packet, pan_pos & 0x0000f );
with:
_VISCA_append_byte(&packet, (pan_pos & 0xf000) >> 12);
_VISCA_append_byte(&packet, (pan_pos & 0x0f00) >> 8);
_VISCA_append_byte(&packet, (pan_pos & 0x00f0) >> 4);
_VISCA_append_byte(&packet, pan_pos & 0x000f );
Thanks for your work, guys!
I have the same problem. set_pantilt_relative position doesn't work either.
It worked fine in 1.0.0, but not anymore.
Hi, tried patch, tried without patch, tried replace code but nothing works, resp. everything works except VISCA_set_pantilt_absolute_position and VISCA_set_pantilt_relative_position.
I am working with EVI-D100/P
Any help somebody? any ideas?
Thanks Stan.