avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex


From: Chris Kuethe
Subject: Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?
Date: Thu, 5 Feb 2009 00:13:37 -0700

On Thu, Feb 5, 2009 at 12:10 AM, Schwichtenberg, Knut
<address@hidden> wrote:
> As far as I know hex values won't work as expected but octal does!
>
> I used:
>
> static char s46[] __attribute__ ((progmem)) =  "Hei\342gas";            /* 46 
> */
>
> which is written as "Heißgas" on an LCD.

As far as I know, hex values do work... because I tried that program
before pasting it. But some people prefer octal escapes...

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]