LCD Module missing scrolling commands

General discussion relating to the library modules supplied with the compiler

Moderators: David Barker, Jerry Messina

Post Reply
bitfogav
Registered User
Registered User
Posts: 169
Joined: Sat Oct 09, 2010 1:39 pm
Location: United Kingdom

LCD Module missing scrolling commands

Post by bitfogav » Mon Dec 06, 2010 5:50 pm

Correct me if I am wrong but the following commands are either missing or not included into the LCD.bas module?

the commands

Code: Select all

Public Const                    
cmdDisplayRight = %00011100,
cmdDisplayLeft = %00011000

more info can be found here:
http://digital-diy.com/forum/viewtopic.php?p=5556#p5556

User avatar
Senacharim
Posts: 139
Joined: Tue Aug 10, 2010 5:19 pm
Location: Ventura, CA

Post by Senacharim » Tue Dec 07, 2010 2:31 pm

You can copy the included module to 'User Library' and change the name--and then you can add/subtract/change whatever you see fit in the module.

Just saying...
Surviving Member
Bermuda Triangle Battalion
from 2026 to 1992

Voted "Most likely to time travel"--Class of 2024.

bitfogav
Registered User
Registered User
Posts: 169
Joined: Sat Oct 09, 2010 1:39 pm
Location: United Kingdom

Post by bitfogav » Tue Dec 07, 2010 3:29 pm

Nice thanks for that info :)

be80be
Registered User
Registered User
Posts: 90
Joined: Mon Feb 23, 2009 2:15 am
Location: tn

Post by be80be » Wed Dec 08, 2010 1:18 pm

There probable a reason for not using scrolling in LCD.bas They don't really scroll there shifting data memory and can get lost.

I no that don't sound right but you can move the data like to far right or left and then write to the LCD and not get a update to the screen

Because you move the start location these PDF tell it better then me

http://www.electro-tech-online.com/atta ... l-lcd1.pdf

http://www.electro-tech-online.com/atta ... l-lcd2.pdf

AndyO
Registered User
Registered User
Posts: 48
Joined: Sat Oct 27, 2007 7:08 pm
Location: Beijing, China

Post by AndyO » Wed Dec 08, 2010 3:53 pm

Nice articles - thanks or sharing.

It seems that as long as you issue a Cursor Home or a Clear Display command after you're finished shifting than that will reset the address block back to where it's supposed to be and you're good to go with the next command?

Post Reply