Skip to content

Instantly share code, notes, and snippets.

@ArduinoBasics
Last active December 29, 2019 11:07
Show Gist options
  • Save ArduinoBasics/95eb9727c512e0f98f61784fc22806ae to your computer and use it in GitHub Desktop.
Save ArduinoBasics/95eb9727c512e0f98f61784fc22806ae to your computer and use it in GitHub Desktop.
Sketch to test the BlinkMe library
/*
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