HAIDE
Junior Member level 3

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);
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);