I´ve successfully tested "Flex_LCD" code with an 16F767 device and a 16x2 LCD display. Now my problem is that other than text, I need to show data coming from variables, let´s say the value collected at an analog input or the number of events accumulated by a counter...
Any suggestions to do this?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Sep 29, 2008 6:58 pm
Look in the CCS manual at the section on printf. Look at the format
strings that are used to display each variable data type. Here is a
code example of how to display a floating point variable on the LCD:
http://www.ccsinfo.com/forum/viewtopic.php?t=32168
ricperez
Joined: 25 Apr 2007 Posts: 14
It worked great!
Posted: Sat Oct 04, 2008 10:15 pm
Thanks for your input PCM Programmer. I´ve followed the example you suggested and it is now working.
Keep up with the good work.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum