Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Fast float routine in C to display data on LCD

Status
Not open for further replies.

aamiralikhoja

Member level 5
Joined
Aug 11, 2004
Messages
90
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
708
fast float routine in c

hello
i am working on MicroController in which i have to display fast data

on LCD DATA is coming at 800Hz. Its integer from so i have to convert

it flaot and then into string form have any body have FAST routine to convert

integer float to and to string in c (sprintf is slow so i am not using it) to display

fast data on LCD.
 

fast float routine in c

If your data is integer, why are you converting it to float? Simply convert the integer directly to a (decimal or hex or octal or ???) string.
 

Re: fast float routine in c

Another possible issue is that LCD modules are slow by themselves. The Enable Cycle Time for HD44780-based LCDs are already 1ms. Added to some execution time from your microcontroller and you may easily miss your deadline.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top