akshay birnale / Mbed 2 deprecated mbed_lib12

Dependencies:   mbed

Committer:
akshay28
Date:
Thu Dec 01 06:15:47 2016 +0000
Revision:
0:411348ec5d44
bvb

Who changed what in which revision?

UserRevisionLine numberNew contents of line
akshay28 0:411348ec5d44 1 #ifndef MBED_led_H
akshay28 0:411348ec5d44 2 #define MBED_led_H
akshay28 0:411348ec5d44 3
akshay28 0:411348ec5d44 4 #include "mbed.h"
akshay28 0:411348ec5d44 5
akshay28 0:411348ec5d44 6 class led {
akshay28 0:411348ec5d44 7 public:
akshay28 0:411348ec5d44 8 led(PinName pin);
akshay28 0:411348ec5d44 9 void led(int n);
akshay28 0:411348ec5d44 10
akshay28 0:411348ec5d44 11 private:
akshay28 0:411348ec5d44 12 DigitalOut _pin;
akshay28 0:411348ec5d44 13 };
akshay28 0:411348ec5d44 14
akshay28 0:411348ec5d44 15 #endif