loop() \ Language (API) \ Wiring 1.0 (ALPHA)

| Index

| Reference for Wiring 1.0 (ALPHA) 0019+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name |  | ### loop()
Examples |  |
    void setup() {
      pinMode(0, OUTPUT);
    }

    void loop() {
      digitalWrite(0, HIGH);
    }
Description |  | Continuously executes the lines of code contained inside its block until the program is stopped. The loop() function is used in conjunction with setup(). The number of times loop() executes in each second may be controlled with the delay() and delayMicroseconds() functions.
Syntax |  |
    loop() {
      statements
    }
Parameters |  |
statements |  | A sequence of statements to be executed over and over again
Returns |  | None
Usage |  | Web & Application
Related |  | setup()