Last active
December 29, 2019 11:07
-
-
Save ArduinoBasics/95eb9727c512e0f98f61784fc22806ae to your computer and use it in GitHub Desktop.
Sketch to test the BlinkMe library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Filename: blinkTest.ino | |
Example sketch: Testing the BlinkMe library | |
Author: Scott C / ArduinoBasics | |
Date: 28th Nov 2019 | |
Microcontroller: Arduino UNO | |
IDE Version: 1.8.5 (Windows 10) | |
https://github.com/ArduinoBasics/Arduino_Libraries/tree/master/BlinkMe | |
*/ | |
#include <BlinkMe.h> | |
BlinkMe bM; | |
void setup(){ | |
bM.setOUTPUT(13); //Blink on Digital Pin 13 | |
} | |
void loop(){ | |
bM.blink(1000); //Blink ON for 1 second, OFF for 1 second (1000 millis) | |
bM.blink(2000); //Blink ON for 2 seconds, OFF for 2 seconds | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment