Posted: Tue Mar 07, 2006 3:25 pm Post subject: Read data from LCD?
Currently I use the BASCOM-8051 LCD routines to write to and control my LCD (they are very convenient) but I see no way to retrieve data from the LCD's DDRAM. This would be a really useful feature for me.
I would think a function like:
Dim X as Byte
Locate 1,5 ' point to LCD character
X = LCD ' retrieve LCD character
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
Posted: Tue Mar 07, 2006 6:47 pm Post subject: Reading LCD
Have even seen a program that uses the non-used RAM locations of a LCD. If you use a 16 x 2 LCD, you will have 40 x 2 byte of RAM and only 16 x 2 are used (visible). So you will have 80 - 32 = 48 bytes you can use as pure RAM.
Exactly! If you have extra RAM available in the LCD, why not put it to use?
Also, I use password protection in my firmware and it bugs me that I have the password the user entered sitting there in the LCD's RAM and yet I can't easily read it. I have to keep another copy of the password in scratch RAM. What a waste.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum