Bob Merrison-Hort / Mbed 2 deprecated elec350

Dependencies:   mbed

Fork of elec350 by Bob Merrison-Hort

Revision:
7:aa63d1e53be6
Parent:
0:753cf4c2738f
Child:
15:c1362c12a896
--- a/led.cpp	Thu Oct 15 16:55:27 2015 +0000
+++ b/led.cpp	Tue Oct 20 14:06:30 2015 +0000
@@ -15,10 +15,10 @@
     this->pin = new DigitalOut(this->pinName);
 }
 
-void Led::SwitchOn() {
+void Led::On() {
     this->pin->write(1);
 }
 
-void Led::SwitchOff() {
+void Led::Off() {
     this->pin->write(0);
 }
\ No newline at end of file