Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Committer:
xinlei
Date:
Mon Aug 08 11:05:57 2016 +0000
Revision:
138:f8ab852e83e7
Parent:
103:a3703ca4a4a4
Etisalat and Teleena APN.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
xinlei 93:61d44636f020 1 #include "mbed.h"
vwochnik 65:a62dbef2f924 2
xinlei 93:61d44636f020 3 DigitalOut shieldLEDRed(D5, 255);
xinlei 93:61d44636f020 4 DigitalOut shieldLEDBlue(D8, 255);
xinlei 93:61d44636f020 5 DigitalOut shieldLEDGreen(D9, 255);
vwochnik 65:a62dbef2f924 6
xinlei 93:61d44636f020 7 void closeRelay()
vwochnik 65:a62dbef2f924 8 {
xinlei 71:063c45e99578 9 shieldLEDRed = 255;
xinlei 71:063c45e99578 10 shieldLEDBlue = 255;
xinlei 71:063c45e99578 11 shieldLEDGreen = 0;
vwochnik 65:a62dbef2f924 12 }
vwochnik 65:a62dbef2f924 13
xinlei 93:61d44636f020 14 void openRelay()
vwochnik 65:a62dbef2f924 15 {
xinlei 71:063c45e99578 16 shieldLEDRed = 255;
xinlei 71:063c45e99578 17 shieldLEDBlue = 255;
xinlei 71:063c45e99578 18 shieldLEDGreen = 255;
xinlei 93:61d44636f020 19 }