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

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

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


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

Hi list,


I am very new to C, and I can't find how to specify a binary constant.

I tried for example 

foo = 0b11110000;

or 

foo = b11110000;

but neither worked...


I am using gcc-avr 3.4.3 and avr-libc 1.2.3....


Regards,


--
Vince





reply via email to

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