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.

divide and log in Codevision

Status
Not open for further replies.

HAIDE

Junior Member level 3
Junior Member level 3
Joined
Feb 9, 2012
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
GERMANY
Visit site
Activity points
1,525
divide and log function in Codevision

Hi,
Any one know what is the problem of following code, I dunno why it is not working in AVR Codevision
float c;
int a=30;
int b=500;
c=(float)exp(a/b);
sprintf(in_display,"c= %f", c);
lcd_gotoxy(0,0);
lcd_puts(in_display);
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top