Pinguino Forum
The problem with the service lcd 2x16 - Printable Version

+- Pinguino Forum (http://forum.pinguino.cc)
+-- Forum: Using Pinguino (http://forum.pinguino.cc/forumdisplay.php?fid=29)
+--- Forum: Displays (http://forum.pinguino.cc/forumdisplay.php?fid=32)
+--- Thread: The problem with the service lcd 2x16 (/showthread.php?tid=4909)



The problem with the service lcd 2x16 - luqa007 - 27-12-2016

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.


RE: The problem with the service lcd 2x16 - derf158 - 28-12-2016

(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


RE: The problem with the service lcd 2x16 - luqa007 - 30-12-2016

Pinguino 4550, bootloader v.4.x
ide 959


RE: The problem with the service lcd 2x16 - derf158 - 30-12-2016

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

Which temperature sensor do you have


Fred


RE: The problem with the service lcd 2x16 - pingotg - 30-12-2016

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