<?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: error: &#039;delay&#039; was not declared in this scope&#039;</title>
		<link>http://forums.leaflabs.com/topic.php?id=1521</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18:18 +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=1521" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "error: &#039;delay&#039; was not declared in this scope&#039;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1521#post-10065</link>
			<pubDate>Mon, 02 Apr 2012 06:44:04 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">10065@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;samtal - I believe using _TIME_H_  instead of WIRISH_TIME_H  is a bug, and it should be fixed in the libmaple source
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "error: &#039;delay&#039; was not declared in this scope&#039;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1521#post-10062</link>
			<pubDate>Mon, 02 Apr 2012 04:12:55 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">10062@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;As you can see in the thread I pointed, someone said that this would be addressed. I should, however, have made a note in the README file on the library. &#60;/p&#62;
&#60;p&#62;I'll try to look at it soon. Maybe by the end of the week. If you test accuracy between different clock sources, or find a bug in my files, please let me know so I can correct it online. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>samtal on "error: &#039;delay&#039; was not declared in this scope&#039;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1521#post-10061</link>
			<pubDate>Mon, 02 Apr 2012 03:58:14 +0000</pubDate>
			<dc:creator>samtal</dc:creator>
			<guid isPermaLink="false">10061@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;bubulindo&#60;br /&#62;
I tested it, and it works as you suggested.&#60;br /&#62;
As you wrote, only problem is how it may affect other links?&#60;br /&#62;
I searched through all libs and the only file that will relate to _TIME_H_ is time.h, but this does not mean there are no other files that use it indirectly.&#60;br /&#62;
I will therefore continue with the correction, and keep it in mind in case I'll get some unexplained errors or multifunction.&#60;br /&#62;
Thanks for the tips.&#60;br /&#62;
It helped me out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "error: &#039;delay&#039; was not declared in this scope&#039;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1521#post-10058</link>
			<pubDate>Mon, 02 Apr 2012 02:37:11 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">10058@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have written how to bypass this before somewhere else. &#60;/p&#62;
&#60;p&#62;Here:&#60;br /&#62;
&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=1277&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=1277&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#34;Think I found it.&#60;/p&#62;
&#60;p&#62;In wirish_time.h:&#60;/p&#62;
&#60;p&#62;#ifndef _TIME_H_&#60;br /&#62;
#define _TIME_H_&#60;/p&#62;
&#60;p&#62;In time.h:&#60;/p&#62;
&#60;p&#62;#ifndef _TIME_H_&#60;br /&#62;
#define _TIME_H_&#60;/p&#62;
&#60;p&#62;If I change the TIME_H in the wirish file to WIRISH_TIME_H, it compiles (would have to test it back home).&#60;br /&#62;
Would this change affect any other linking between functions?&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>samtal on "error: &#039;delay&#039; was not declared in this scope&#039;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1521#post-10057</link>
			<pubDate>Mon, 02 Apr 2012 02:02:38 +0000</pubDate>
			<dc:creator>samtal</dc:creator>
			<guid isPermaLink="false">10057@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks.&#60;br /&#62;
I indirectly include the time.h (via the RTClock.h) &#60;/p&#62;
&#60;p&#62;The problem is that when I include the time.h (directly or indirectly), all time functions cause error. (micros(), millis(), delay(), etc).&#60;br /&#62;
There is something in that file that collides with the basic time functions, which probably can be considered a bug.&#60;/p&#62;
&#60;p&#62;I need the RTClock.h file, which includes the time.h, and I don't know how I can use it with the time functions.&#60;/p&#62;
&#60;p&#62;samtal
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "error: &#039;delay&#039; was not declared in this scope&#039;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1521#post-10053</link>
			<pubDate>Sun, 01 Apr 2012 12:07:06 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">10053@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;what files have you included? &#60;/p&#62;
&#60;p&#62;Do you use time.h as one of those files?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>samtal on "error: &#039;delay&#039; was not declared in this scope&#039;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1521#post-10051</link>
			<pubDate>Sun, 01 Apr 2012 07:43:39 +0000</pubDate>
			<dc:creator>samtal</dc:creator>
			<guid isPermaLink="false">10051@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I have a very strange situation.&#60;br /&#62;
In one of my programs (IDE 12), I have a 'delay(1000);' in my loop, but I keep getting the error 'delay' was not declared in this scope' regardless of where I place it in the program.&#60;/p&#62;
&#60;p&#62;The 'delay' word is recognized (I can tell by its color), and the command is identical to my other sources.&#60;br /&#62;
I have all necessary included files (although I think delay is default library), yet I keep getting this error.&#60;br /&#62;
As I wrote, I have the same in other programs and it works as it should.&#60;/p&#62;
&#60;p&#62;Any idea?&#60;br /&#62;
samtal
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
