How to convert a byte array of 19200 bytes in size where each byte represents 4 pixels (2 bits per p
- by Klinger
I am communicating with an instrument (remote controlling it) and
one of the things I need to do is to draw the instrument screen.
In order to get the screen I issue a command and the instrument
replies with an array of bytes that represents the screen.
Below is what the instrument manual has to say about converting the response to the actual…