I haven't used the lcd library and I don't know what the code is trying to do but try changing each occurrence of this kind of statement:
lcd.write(0);
to this:
lcd.write('0');
Pete
I haven't used the lcd library and I don't know what the code is trying to do but try changing each occurrence of this kind of statement:
lcd.write(0);
to this:
lcd.write('0');
Pete