Extract a specific bit from hex value
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 424
- Thank you received: 57
04 Mar 2026 01:17 #343820
by COFHAL
Extract a specific bit from hex value was created 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.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17732
- Thank you received: 5187
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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds