On Mon, 10 Oct 2005 12:34:52 -0500 you wrote:
>On Sun, 2005-10-09 at 16:46 -0400, Aaron wrote:
>> I'm attempting to use the Codevision compiler with a tiny2313.
>> While I wait for the moderator of the codevisionavr group to approve
>> my membership, I will post my question here. :)
>> If I write:
>> putchar (0x55) ; transmit ascii U out the serial port
>> it works as expected.
>> But if I write:
>> putchar ("U") ; transmit ascii U out the serial port
>> it throws a "possible loss of precision" warning and actually
>> transmits
>> ascii 8.
>> What am I missing?
"U" is a string.
'U' is a character.
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.netMessage
Re: [AVR-Chat] codevision putchar()
2005-10-10 by Ralph Hilton
Attachments
- No local attachments were found for this message.