<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com arduino:time</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-18T16:47:10+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/delaymicroseconds?rev=1708041862&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/micros?rev=1708041862&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/arduino/time/millis?rev=1708041862&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>delay()</title>
        <link>https://code-reference.com/arduino/time/delay?rev=1708041862&amp;do=diff</link>
        <description>Description

Pauses the program for the amount of time (in miliseconds) specified as parameter.   (There are 1000 milliseconds in a second.)

Syntax

delay(ms)

Parameters

ms: the number of milliseconds to pause (unsigned long)

Returns

nothing

Example


int ledPin = 13;                 // LED connected to digital pin 13

void setup()
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
}

void loop()
{
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);          …</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/time/delaymicroseconds?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>delayMicroseconds()</title>
        <link>https://code-reference.com/arduino/time/delaymicroseconds?rev=1708041862&amp;do=diff</link>
        <description>Description

Pauses the program for the amount of time (in microseconds) specified as parameter.  There are a thousand microseconds in a millisecond, and a million microseconds in a second.

Currently, the largest value that will produce an accurate delay is 16383. This could change in future Arduino releases.  For delays longer than a few thousand microseconds, you should use delay() instead.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/time/micros?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>micros()</title>
        <link>https://code-reference.com/arduino/time/micros?rev=1708041862&amp;do=diff</link>
        <description>Description

Returns the number of microseconds since the Arduino board began running the current program.  This number will overflow (go back to zero), after approximately 70 minutes.  On 16 MHz Arduino boards (e.g. Duemilanove and Nano), this function has a resolution of four microseconds (i.e. the value returned is always a multiple of four).  On 8 MHz Arduino boards (e.g. the LilyPad), this function has a resolution of eight microseconds.</description>
    </item>
    <item rdf:about="https://code-reference.com/arduino/time/millis?rev=1708041862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:04:22+02:00</dc:date>
        <title>millis()</title>
        <link>https://code-reference.com/arduino/time/millis?rev=1708041862&amp;do=diff</link>
        <description>Description

Returns the number of milliseconds since the Arduino board began running the current program.  This number will overflow (go back to zero), after approximately 50 days.

Parameters

None

Returns

Number of milliseconds since the program started (unsigned long)</description>
    </item>
</rdf:RDF>
