I was wondering if someone could give me a little direction on how to convert a 16 bit binary # into a form I can output to the lcd_putc() function which is in the lcd.c include file? Or maybe which function should I use to do this conversion ?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Jan 21, 2008 10:48 pm
Do it with printf. In CCS, printf has a special feature where its output
can be re-directed to another function. You can re-direct it to the
lcd_putc() function and it will be displayed on the LCD. Printf will do
the conversion from an integer to ASCII for you.
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