Configuring the Dual Digit Display for CVE / CVA
On a CVE, the dual digit display should be supplied with power and ground from a stable, fused source, and the data connection should go back to a separate pin on the CVE. This does NOT connect to a pipebus port and does not connect to the same buss as the LCD/VFD/OLED display.
1) In the CVE config, declare an array to hold the digits values.
2) Where you are ready to populate the array, clear it and populate it with values:
The example above will put EXPR 1 on the right digit unless it’s 0, then it will blank the digit. The left digit will show the last general pressed.
3) Send the new values to the digits unit, in this example using Dsply_2 on the CVA:
4) The value of the EEPROMs must be set in the target dual digit display. Because 8 total values can be had, a single message can contain values for 8 separate display units, or 4 if they are dual loaded:
In the sample code above, a fixed value of “333” is being sent to the right digit, since it is being sent out value 1 in the message. The right digit is defined by the first number in the EEPROM section, which is 0 based. So value 0 in the EEPROM is value 1 in the CVA, which is 333. In this example, values of “444”, “555”, and “777” are being ignored since no displays are looking for those values.