Use one on/off bit per pixel. The worked frame has 32 columns, and the display RAM uses four-bit data units. Divide the number of active pixel positions by four to count the units occupied by complete rows. In the worked example, Display rows at 32 columns 5 gives four-bit data nibbles of 40.
The recorded quantity and the calculated result
Keep three columns in a commissioning export: the original display rows at 32 columns, the configuration used in the conversion and the resulting four-bit data nibbles. Recompute the result for the lower, middle and upper worked points before interpreting a field difference. A change in range, units or representation can otherwise be mistaken for a change in the process.
Two points to check independently
At 4 the calculated four-bit data nibbles is 32. At 5 it is 40. Subtracting the first output from the second gives 8. These values give two independent checkpoints for a spreadsheet or a logger conversion.

Worked data
Display rows at 32 columns | Four-bit data nibbles |
|---|---|
1 | 8 |
2 | 16 |
3 | 24 |
4 | 32 |
5 | 40 |
6 | 48 |
7 | 56 |
8 | 64 |
Checking the ends of the working range
The interval from the middle to the upper test point runs from 5 to 8 on the display rows at 32 columns axis. Its average change in four-bit data nibbles per input unit is 8. This is a two-point slope for that interval. To check a spreadsheet or a gateway calculation, enter 8 in a separate test row and compare its result against 64 at the displayed precision.
Installation and interpretation
Count data nibbles separately from the bytes an application allocates and the framing transmitted on the wire. A binding may use a whole host byte to hold one addressed nibble, even though only the low four bits contain display information.
For a repeatable verification, capture a small known case and a second case well away from it. Check whether the difference follows the response in the table, then restore the working configuration and repeat one reading. Store a separate status field for missing or invalid input. Substituting zero would make a dropped observation indistinguishable from a legitimate numerical zero.
Implementation and worked data
The source implementation is maintained in the .NET IoT device project. Download the worked numerical example.

