From: Gudjon I. Gudjonsson <gudjon@gu...> - 2008-10-20 14:05:49
I made an implementation of the %e option for printf in my own
printf_large.c file that I call so far printf_exp.c and can be found along
with a test program called writeser.c. They can be found at:
If the code is usable and it can be implemented into sdcc, please do but....
There are two errors.
When I reset my microcontroller, it doubles the first digit
but afterwards, it always outputs the correct number:
I have tried all different versions of numbers and all are displayed correctly
except for that one, right after reset.
There is also some other problem that makes my more complicated application
crash when using it.
If anyone is willing to take a look at the code I would be very happy.