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

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'