VB bitwise math RRS feed

  • Question

  • User-1037419367 posted

    I have a need to construct a command Byte to send to another device using bit wise operations.

    There seem to be plenty of article on how to do this for indiviual bits using an OR'd constant but how do I do this for values that span multiple bits?

    eg "Bits 4-1" set the repeat count"

    so how to I inject a repeat count value of say 7 into my command byte? 





    Thursday, May 27, 2010 9:05 AM