lcd4884 displaying Variables

userHead Steve50j 2016-02-17 01:13:24 1309 Views1 Replies

How can I display a variable, like temperature changing, on the display.

Using ' lcd.LCD_write_string_big(10, 1, variable, MENU_NORMAL); '
gives me this error:

invalid conversion from int to char

Scale_Menu.cpp:19:19: error: HX711.h: No such file or directory
Scale_Menu.cpp: In function 'void display_weight()':
Scale_Menu:371: error: invalid conversion from 'int' to 'char*'
Scale_Menu:371: error: initializing argument 3 of 'void LCD4884::LCD_write_string_big(unsigned char, unsigned char, char*, char)'

2016-02-17 11:37:25 Hello Steve,


I tested the library, and luckily I got a module lcd4884 at hand, so I found it's NOT compatible with Arduino 1.6, but only 1.0 & 1.5.

I had a glance at the library but I don't know much about c++, I searched the error "warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]" without much help online A useful link. Maybe you could try to use old version Arduino IDE. This product has been out of service to update its library~~ :?

(524.55 KiB) Downloaded 227 times
userHeadPic Leff