printf for 1 line 2x8 LCD

Status
Not open for further replies.

tgq

Full Member level 5
Joined
Jul 15, 2002
Messages
289
Helped
7
Reputation
14
Reaction score
4
Trophy points
1,298
Activity points
2,360
hi
I'm looking for a modified putchar for a 16 character 2x8 LCD standard display
I play with CCS
Thx
 

It´s single using CCS C compiler!

Assuming that putc are the previous function for send one character for Your LCD:
#include <stdio.h>

printf(putc,"Hello0\n\r"); // ATTENTION: the modifiers \n and \r should implemented in Your putc function!
printf(putc,"Hello1");

gorkin.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…