[Top][All Lists]
[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: |
David Kelly |
Subject: |
Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ? |
Date: |
Thu, 5 Feb 2009 08:40:00 -0600 |
User-agent: |
Mutt/1.4.2.3i |
On Thu, Feb 05, 2009 at 12:13:37AM -0700, Chris Kuethe wrote:
> 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...
Odds are that is an avr-gcc patch and not standard gcc. Am more certain
the support of entering binary values is an avr-gcc enhancement because
I see the patch file in the FreeBSD port.
--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.
- [avr-gcc-list] Strings: escape sequence to insert arbitrary hex value ?, Vincent Trouilliez, 2009/02/04
- Re: [avr-gcc-list] Strings: escape sequence to insert arbitrary hex value ?, Daniel O'Connor, 2009/02/05
- Re: [avr-gcc-list] Strings: escape sequence to insert arbitrary hex value ?, Vincent Trouilliez, 2009/02/05
- [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, David Brown, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Chris Kuethe, 2009/02/05
- RE: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Schwichtenberg, Knut, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Chris Kuethe, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Juergen Harms, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?,
David Kelly <=
- RE: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Dave Hansen, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Vincent Trouilliez, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary, lucio, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary, Jim Brain, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary, Vincent Trouilliez, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, David Kelly, 2009/02/05
- RE: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Dave Hansen, 2009/02/05
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Joerg Wunsch, 2009/02/09
- Re: [avr-gcc-list] Re: Strings: escape sequence to insert arbitrary hex value ?, Vincent Trouilliez, 2009/02/05
- Re: [avr-gcc-list] Strings: escape sequence to insert arbitrary hex value ?, Daniel O'Connor, 2009/02/05