Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] codevision putchar()

2005-10-10 by Aaron

Ralph Hilton wrote:

>>On Sun, 2005-10-09 at 16:46 -0400, Aaron wrote:
>>    
>>
>>>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.
>  
>
Still trying to remember my C classes from 7 years ago...

Not that it really matters, but how does "U" evaluate to 0x38?

Aaron

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.