Last active
December 29, 2019 10:01
-
-
Save ArduinoBasics/a6d68eeb9f5376da0f3cdf6267336aab to your computer and use it in GitHub Desktop.
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
/*------------------------------------------------- ---------------- | |
* HEADER FILE for BlinkMe | |
* Library Descriptionn: Simplifying LED blinking | |
* Library Name: BlinkMe | |
* | |
* Author: Scott C / ArduinoBasics | |
* Version: 1.0 | |
* Date Created: 28 Dec 2019 | |
-------------------------------------------------------------------*/ | |
// Check to make sure the library is not already defined. | |
#ifndef BlinkMe_h | |
// Define the header file | |
#define BlinkMe_h | |
// Provide access to the standard Arduino types and constants | |
#include "Arduino.h" | |
//Create the class BlinkMe | |
class BlinkMe{ | |
public: | |
BlinkMe(); | |
void setOUTPUT(int dPin); | |
void blink(unsigned long delay_1); | |
private: | |
int _dPin; | |
unsigned long _delay_1; | |
}; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment