----- Original Message ----- From: "Rick Altherr" <[EMAIL PROTECTED]> To: "John" <[EMAIL PROTECTED]> Cc: <avr-chat@nongnu.org> Sent: Tuesday, November 20, 2007 1:59 PM Subject: Re: [avr-chat] Comparisson with negative values
> If you are using printf(), the format string includes a description of > the type. I would bet that you are using %d which means signed integer > of size int. %u means unsigned integer of size int. I would need to > check what int16_t is on avr, but if it is not int (could be short for > example) then you would also need a length modifier. I suggest > reading the printf() manpage. Not using printf() or even including stdio.h It is the same as largedemo which comes with avr-glibc. Some simple functions are defined within the program. John _______________________________________________ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat