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

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

Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?


From: Vincent Trouilliez
Subject: Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?
Date: Fri, 23 Sep 2005 09:19:03 +0200

On Fri, 2005-09-23 at 08:46 +0200, Alex Wenger wrote:
> I use a small header-file and the notation b11110000.
> bin.h:
> #define b00000000 0x00
> #define b00000001 0x01
> .....
> #define b11111111 0xff


Simple, but clever :-)
Thanks for posting the entire table, that will save me the work, I will
just copy/paste it! :o)))


--
Vince, very lazy





reply via email to

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