Bitwise Operations in a Domain-Specific Language
I have been working with several devices controlled by a programmable logic controller (PLC). The PLC shows the state of these devices as an unsigned 16-bit integer. The integer value itself isn't very helpful and can even be a bit confusing. Each of...
gregorsoutar.com4 min read