Extract a specific bit from hex value

More
04 Mar 2026 01:17 #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 or Create an account to join the conversation.

More
04 Mar 2026 03:35 #343821 by PCW
Replied by PCW on topic Extract a specific bit from hex value
The" bitslice" hal component is one way.

 
The following user(s) said Thank You: COFHAL

Please Log in or Create an account to join the conversation.

More
05 Mar 2026 00:24 #343875 by COFHAL
Replied by COFHAL on topic Extract a specific bit from hex value
Thanks, with this component I was able to extract the bits I needed.

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum