Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

ATMEGA328 with LCD 16x2 + I2C-Controller PCF8574

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
dj7th

Bascom Member



Joined: 27 Nov 2015
Posts: 14

blank.gif
PostPosted: Thu Jun 24, 2021 8:42 pm    Post subject: ATMEGA328 with LCD 16x2 + I2C-Controller PCF8574 Reply with quote

my BASCOM program works perfectly with an LCD 20x4 + I2C controller PCF8574 and the YwRobot_Lcd_i2c.lib from Kent Andersson.
I changed the program using a 16x2 LCD display with the same controller, but now the text appears shifted 8 places to the right.
Presumably you have to make a correction in the lib to prevent this misalignment.
Question:
has someone solved this problem and what is the name of the lib?

(BASCOM-AVR version : 2.0.8.3 , Latest : 2.0.8.3 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Thu Jun 24, 2021 8:51 pm    Post subject: Reply with quote

you best post a small piece of code.
normally only CONFIG LCD should be changed. But i do not really know the mentioned lib.
Did you notice the excellent lib from O-Family in the shared code section? It allows multiple LCD to be used.

_________________
Mark
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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