Extract a specific bit from hex value

More
7 months 3 weeks ago #343820 by COFHAL
Is there a way to extract a specific bit from a hexadecimal value? The VFD I'm using indicates the state with a 16-bit hexadecimal value, and therefore I need to extract that bit to use it within my configuration.

Please Log in to join the conversation.

More
7 months 3 weeks ago #343821 by PCW
The" bitslice" hal component is one way.

 

Please Log in to join the conversation.

More
7 months 3 weeks ago #343875 by COFHAL
Thanks, with this component I was able to extract the bits I needed.

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum