Hi all. i just want to know how can i convert variables to strings for eg-,
unsigned char b[2]; unsigned char a; void main() { a=20; a=b; print_lcd(b); }
i want to print the value to 'a' which is 20 to 16x2 lcd using keil. but the above program does not work for me... can anybody please give me an idea of how can i do it...
what is sprintf....???? how does it work... do i need to write any function for sprintf.
May be you need to learn how to read books, digest available technical documentation, and search the internet for resources you need.
Find a copy of the K&R C Language Manual, and READ it, otherwise you just come across as lazy and clueless.