Forum 2005-2010 (read only)
(Read 766 times)
Dec 30, 2010, 07:46 pm
Hi, KS0108ReadData() is one of the functions of the display controller software interface which was created by the original owner (Fabian Thiele) and later modified by the Arduino team (Michael Margolis). To read display data this function call twice another function KS0108doReadData(). It is highly appreciated if any one familiar with this software can explain the logic behind callling this function twice. Thanks.
Dec 30, 2010, 09:33 pm
From the datasheet:
"To read the contents of display data RAM, twice access of read instruction is needed. In first access, data in display data RAM
is latched into output register. In second access, MPU can read data which is latched. That is, to read the data in display data
RAM, it needs dummy read. But status read is not needed dummy read."
Dec 30, 2010, 11:39 pm
Thanks Cloudy. This answers my question.