Pinguino Forum

Full Version: The problem with the service lcd 2x16
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

How do I upload a temperature sensor on the lcd 2x16? Words can be sent without a problem, but I do not know how to send variable. I have tried many times in different ways but the program still does not pass the build, or something does not work as it should.
(27-12-2016, 10:47 PM)luqa007 Wrote: [ -> ]Hello

How do I upload a temperature sensor on the lcd 2x16? Words can be sent without a problem, but I do not know how to send variable. I have tried many times in different ways but the program still does not pass the build, or something does not work as it should.

Hello,
 which pinguino chip/ board are you using and which ide?

fred
Pinguino 4550, bootloader v.4.x
ide 959
(30-12-2016, 12:13 AM)C luqa007 Wrote: [ -> ]Pinguino 4550, bootloader v.4.x
ide 959

Which temperature sensor do you have


Fred
The basic idea may be to use sprintf to format the variable's value to a string, then pass the buffer containing that string to the lcd.

Have a look for examples using sprintf.

John