Thursday, February 11, 2010

Slider with Checksum

0 comments
Is it possible to use the slider with a hex command that requires a
checksum at the end of it?

This will be for direct volume on a TV.

Examples:
\x08\x22\x01\x00\x00\x00\x2B - Volume to 0
\x08\x22\x01\x00\x00\x10\xC5 - Volume to 10
\x08\x22\x01\x00\x00\x64\x71 - Volume to 100

The sixth byte would be replaced with [sliderval].
Since that number will change to where ever the slider is moved to, it
is going need a different checksum for each different volume level.
The checksum is two's complement and is the seventh byte as shown.
Will this be possible?

--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "Slider with Checksum"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com