// 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);
led1.blink(200,5); // Led Blink Function each 200ms for 5 times
}
void loop() {
}
nano:12
nano:11
nano:10
nano:9
nano:8
nano:7
nano:6
nano:5
nano:4
nano:3
nano:2
nano:GND.2
nano:RESET.2
nano:0
nano:1
nano:13
nano:3.3V
nano:AREF
nano:A0
nano:A1
nano:A2
nano:A3
nano:A4
nano:A5
nano:A6
nano:A7
nano:5V
nano:RESET
nano:GND.1
nano:VIN
nano:12.2
nano:5V.2
nano:13.2
nano:11.2
nano:RESET.3
nano:GND.3
led1:A
led1:C
r1:1
r1:2