Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

io/Peripheral.cpp

Committer:
xinlei
Date:
2015-05-08
Revision:
103:a3703ca4a4a4
Parent:
io/DeviceFeedback.cpp@ 93:61d44636f020

File content as of revision 103:a3703ca4a4a4:

#include "mbed.h"

DigitalOut shieldLEDRed(D5, 255);
DigitalOut shieldLEDBlue(D8, 255);
DigitalOut shieldLEDGreen(D9, 255);

void closeRelay()
{
    shieldLEDRed = 255;
    shieldLEDBlue = 255;
    shieldLEDGreen = 0;
}

void openRelay()
{
    shieldLEDRed = 255;
    shieldLEDBlue = 255;
    shieldLEDGreen = 255;
}