Skip to content

Instantly share code, notes, and snippets.

@ArduinoBasics
Last active December 29, 2019 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArduinoBasics/a6d68eeb9f5376da0f3cdf6267336aab to your computer and use it in GitHub Desktop.
Save ArduinoBasics/a6d68eeb9f5376da0f3cdf6267336aab to your computer and use it in GitHub Desktop.
/*------------------------------------------------- ----------------
* 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