CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 2 matches
CCS Forum Index
Author Message
  Topic: how to show a float number on a 16x2 LCD in 4bit mode?
Aryamas

Replies: 4
Views: 10212

PostForum: General CCS C Discussion   Posted: Sun Apr 13, 2014 11:12 pm   Subject: how to show a float number on a 16x2 LCD in 4bit mode?
CCS c version is 5.007.
Code, which is working on Proteus and is not working in the real world is like this:

adc = .01234*read_adc();
printf(lcd_putc, "n=%3.2f",adc);

Code, which is ...
  Topic: how to show a float number on a 16x2 LCD in 4bit mode?
Aryamas

Replies: 4
Views: 10212

PostForum: General CCS C Discussion   Posted: Sun Apr 13, 2014 5:29 am   Subject: how to show a float number on a 16x2 LCD in 4bit mode?
hi
how can I show a floating number(ADC output) on a 16x2 LCD in 4-bit mode using a pic18f452?
I have used printf(lcd_putc,'' " ") command and its OK on the Proteus. But it's not working ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group