:
> On Mon, Aug 28, 2006 at 07:32:47PM +0200, Easy B wrote:
>>> volatile int i;
>>> i=7;
>>> stdout=STREAM_USER;
>>> printf("%s", i);
>>
>> Wont work. But "printf("%c", i); " results the character with the
>>
Hivolatile int i;i=7;stdout=STREAM_USER;printf("%s", i);Wont work. But "printf("%c", i); " results the character with the ASCII code 7. Strings and characters aren't the problem though. As soon as I use something other than "%c/s" my program hangs. It doesn't make a difference if I use int, char o
Hi
Thanx for the reply. I will try your suggestions as soon as I get home.
As I said, printing strings works fine. So the setup should be fine too.
I've set sdout to use the UART.
Maybe I should be more careful with types and stuff. With gcc and my computer
this works fine. But of course there i
Hello
For the last few days I've been playing around with the sdcc pic16
port and my 18f2550. Actually I'm pretty happy with the result up
until now. While trying to use the libraries, stdio to be specific,
the formating of printf or sprintf doesn't seem to work right. Is
this possible, ex