Configuring the Dual Digit Display for CVE / CVA
On a CVA, the dual digit display, should be wired to the port labeled “Dsply_2” which is located next to the standard display connection. This is a pin for pin connection, and has power/data/ground in the connector.
1) In the CVA, declare a local array of byte in the main routine:
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.