|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
LCD displayhi all,
I have a project in which i have to dynamically display numbers on LCD by taking input from the user, i have done it for integers, can any one guide me how do i implement the same for decimal numbers Thanx |
|
|
Re: LCD displayJust use fixed point notation and plot a "." in the right place. For
example, a decimal number 10.123 will be stored as 10123. All math will work exactly the same way you know (you will only have to check you variable limits to avoid overflows). Calin sid_s_us@... wrote: > > hi all, > > I have a project in which i have to dynamically display numbers on > LCD by taking input from the user, i have done it for integers, can any > one guide me how do i implement the same for decimal numbers > Thanx > > [Non-text portions of this message have been removed] |
|
|
|
|
|
Re: LCD display----- Original Message -----
From: <sid_s_us@...> To: <msp430@...> Sent: Monday, July 14, 2008 10:27 PM Subject: Re: [msp430] LCD display > ya dats true but hw do i scan if a decimal point is present or not; > With fixed-point arithmetic you know where it is. Leon |
| Free Forum Powered by Nabble | Forum Help |