math expressions within commands.
Could you post how to mathematically calculate the checksum for the
protocol above? Then I can ensure our math system (which is already
working in our beta builds) will be able to do this.
Jarrod
On Feb 12, 12:00 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
> 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 "Re: Slider with Checksum"
Post a Comment