The DR command sends the contents of the current display address to the controller. Thus, the controller "reads"
the contents of the display memory address. Use the DA command to specify the display memory address when
executing DR for the fist time. After DR is executed, the display address is automatically advanced to the next
higher address. Thus, the DA command is only needed to specify the first address, because subsequent DR
commands read consecutive addresses.
10
20
30
40
50
60
Line 10:
Line 30:
Reads contents of address 1525.
Reads contents of address 1526.
Lines 20,40, and 60:
Assigns address contents to variables A, B, and C.
DR
Display Read
P r o g r a m m i n g 7 9