Hello! I'm using the P89LPC935FA microcontroller. I have written a program which involves calculation in floating numbers. While trying to compile it, I got a error message which I haven't been able to resolve. Below is the message: FATAL ERROR L210: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND FILE: C:\KEIL\C51\LIB\C51FPS.LIB Target not created. Could you please help. Ade
addition to the above: If you have "all the time in the world" by all means use floating point (I do) but since this is about a servo (PID?) loop, the time consumed will "kill" you Erik
I asked: "how (e.g RS232), and in which format (e.g. ASCII) do you send it to the servo motor control?" you replied" I'm sending pulses(PWM) to the servo using one of the ports on the microcontroller. In order to control the servo, the pulse width will vary between 1ms and 2ms with an interval of 0.02ms." Thewn, where does the floating point requirement come in? The PWM timer or PCA (if using timer, have a look at a PCA chip) is in microseconds anyhow. Just calculate all in, say, multiples of 10 microseconds instead of using seconds or milliseconds and all reasons for considering floating point disappear. Erik
Thanks very much. I'll try that. Also, I think stefan was refering to the evaluation board as kludge and not the idea of scaling. i'll let you know if i have any further problems. cheers. ade