Question for anyone using the Slashdev LCD library


hello folks, have question has c experience and/or using slashdev lcd library @ http://www.slashdev.ca/arduino-lcd-library/

the lcd.print( ); command in library takes character or string argument , prints lcd.  this works fine me when printing text directly or char message[] = "hello world!"; in application trying print member of array contained inside structure, such mystructure.element[0].  if try lcd.print(mystructure.element[0]); don't character or number stored in array printed lcd, looks i'm getting whatever character stored in lcd's lookup table @ equivalent binary address, might %, or random japanese characters - interesting, not want!
does have ideas on or possible workaround?  :-?

update: i've been in touch creator of lcd library i'm using, , found out library supported printing strings.  however, kind enough modifications library supports printing integers contained in variables, structures, etc.

i find library more flexible 1 comes arduino environment because can change pin numbers inside sketch instead of going header file, can both lines in 2 line displays, , has functions support creating , using custom lcd characters creating bitmap , putting in array.  and of course supports printing numeric variables   ;d

it's available at:
http://git.slashdev.ca/arduino-lcd/snapshot/lcdlib-0.4.zip


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Question for anyone using the Slashdev LCD library


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums