View previous topic :: View next topic |
Author |
Message |
sahu77
Joined: 08 Sep 2011 Posts: 202
|
How to display % symbol on lcd ? |
Posted: Sat Mar 03, 2012 12:45 pm |
|
|
How can I display % ?
When I use as...
Code: |
lcd_gotoxy(1,1);
printf ( lcd_putc, "\fO\P Load%lu ", outlod);
lcd_gotoxy(11,1);
printf(lcd_putc, "%");
|
I found error as
Quote: |
Printf variable count (%) does not match actual count ::
|
Guide me, how can I display
O\P Load % ? _________________ sahu |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9228 Location: Greensville,Ontario
|
|
Posted: Sat Mar 03, 2012 5:33 pm |
|
|
open your project...
...press F11...
......select Contents...
.........select BuiltIn Functions...
............select all builtin Functions...
...............select printf()...
.................read the paragraph entitled...Function:...
..................read the 6th sentence...
CCS staff spent a LOT of time creating a great HELP system, almost everything you NEED to know about the compiler is in the onscreen HELP system. Some stuff is still valid after 20 years though I do prefer reading the coilbound manual! |
|
|
|