<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Defining binary variables</title>
		<link>http://forums.leaflabs.com/topic.php?id=74</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:09:22 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=74" rel="self" type="application/rss+xml" />

		<item>
			<title>perry on "Defining binary variables"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74#post-416</link>
			<pubDate>Tue, 29 Jun 2010 22:40:42 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">416@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi Chorca,&#60;/p&#62;
&#60;p&#62;I removed those constants from libmaple, they're pretty silly and redundant. As far as I know they are deprecated and slated for removal for the Arduino.&#60;/p&#62;
&#60;p&#62;GCC provides binary constants with the '0b' prefix:&#60;br /&#62;
&#60;a href=&#34;http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html&#34; rel=&#34;nofollow&#34;&#62;http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;These should work fine in maple.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Defining binary variables"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74#post-408</link>
			<pubDate>Tue, 29 Jun 2010 13:56:26 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">408@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;havnt tried this, but i agree.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>beckel on "Defining binary variables"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74#post-405</link>
			<pubDate>Mon, 28 Jun 2010 23:14:26 +0000</pubDate>
			<dc:creator>beckel</dc:creator>
			<guid isPermaLink="false">405@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am pretty sure the gnu compiler supports this syntax:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;int x = 0b00000001;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;so this should work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chorca on "Defining binary variables"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74#post-383</link>
			<pubDate>Sun, 27 Jun 2010 01:37:17 +0000</pubDate>
			<dc:creator>Chorca</dc:creator>
			<guid isPermaLink="false">383@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Arduino supports defining variables in the format of &#34;byte var = B0011000&#34;. When I try to do this in Maple I get an error like the following: error: 'B1000011' was not declared in this scope&#60;/p&#62;
&#60;p&#62;It seems to think because it starts with a B that it is a string and not a binary value. Does the Maple library just not support this yet or am I using it wrong?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
