Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Simple I2C output to 4x20 LCD

 
Post new topic   Reply to topic    Forum Index -> Files
Author Message
audioguy



Joined: 10 Oct 2009
Posts: 13

Posted: 17 October 2009, 6:39 AM    Post subject: Simple I2C output to 4x20 LCD Reply with quote

Mike Perks suggested I try an I2C LCD instead of RS232 because of the much faster speed. I ordered a Newhaven Displays 4x20 white-on-blue, I2C-capable LCD. Works great with the ZX128ne using pins 11 and 12.

Newbie alert - don't expect clean, Zen-like code. My total time with the device and ZBasic is about 4 hours, including breadboard time. Smile

--jim



zx_I2C.bas
 Description:

Download
 Filename:  zx_I2C.bas
 Filesize:  2.17 KB
 Downloaded:  2423 Time(s)

Back to top
audioguy



Joined: 10 Oct 2009
Posts: 13

Posted: 19 October 2009, 20:26 PM    Post subject: Updated code Reply with quote

This is an update on the previous I2C LCD code that implements most, but not all of Don Kinzer's suggestions.

Thanks, Don. I'll get the single char and int output functions in there ASAP.

--jim



zx_I2C_revB0.bas
 Description:
I2C LCD driver code (ZBasic) Rev B.0

Download
 Filename:  zx_I2C_revB0.bas
 Filesize:  2.29 KB
 Downloaded:  2420 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> Files Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group