// Example Code for Custom Library for LED on, off, blink
// Create Led oect>> Led MyLed("Pin Num Led is connected to");
//to set Led Pin HIGH use MyLed.on();
//to set Led Pin HIGH use MyLed.off();
//to blink Led Pin use MyLed.blink(DelayInMs, HowManyTimes);
#define LED_PIN 9
#include "Led.h"
Led myLed(LED_PIN);
void setup() {
myLed.on(); // Led ON Function
delay(2000);
myLed.off(); // Led OFF Function
delay(2000);
myLed.blink(200,5); // Led Blink Function each 200ms for 5 times
}
void loop() {
}