RBE1001Lib
examples
Blink
Blink.ino
Go to the documentation of this file.
1
#include <Arduino.h>
2
#include <
RBE1001Lib.h
>
3
4
const
int
ledPin
= 33;
5
6
// the setup routine runs once at the start of the program:
7
void
setup
()
8
{
9
pinMode(
ledPin
, OUTPUT);
// initialize the digital pin as an output.
10
}
11
12
// the loop routine runs over and over:
13
void
loop
()
14
{
15
digitalWrite(
ledPin
, HIGH);
// turn the LED on (HIGH is the voltage level)
16
delay(1000);
// wait for a second
17
digitalWrite(
ledPin
, LOW);
// turn the LED off by making the voltage LOW
18
delay(1000);
// wait for a second
19
}
RBE1001Lib.h
loop
void loop()
Definition:
Blink.ino:13
ledPin
const int ledPin
Definition:
Blink.ino:4
setup
void setup()
Definition:
Blink.ino:7
Generated by
1.8.13