HD44780 LCD Designer Resource


i have developed spreadsheet me text in correct places when using hd44780. has tabs 16 x 2 , 20 x 4.

feel free use designs. it's better trial , error approach using before.

https://1drv.ms/x/s!agnh4u4es20sgpqb8hc5sjnujoxjew

regards,

tom helliwell

why did use trail , error? because centering of aligning right hard? make functions you.

code: [select]

void lcdprintcenter(char &msg, byte line, byte screenwidth){
  lcd.setcursor((screenwidth - strlen(msg) ) / 2, line);
  lcd.print(msg);
}

void lcdprintright(char &msg, byte line, byte screenwidth){
  lcd.setcursor((screenwidth - strlen(msg) ), line);
  lcd.print(msg);
}


Arduino Forum > Using Arduino > Displays > HD44780 LCD Designer Resource


arduino

Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading