Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Peripheral.cpp
00001 #include "mbed.h" 00002 00003 DigitalOut shieldLEDRed(D5, 255); 00004 DigitalOut shieldLEDBlue(D8, 255); 00005 DigitalOut shieldLEDGreen(D9, 255); 00006 00007 void closeRelay() 00008 { 00009 shieldLEDRed = 255; 00010 shieldLEDBlue = 255; 00011 shieldLEDGreen = 0; 00012 } 00013 00014 void openRelay() 00015 { 00016 shieldLEDRed = 255; 00017 shieldLEDBlue = 255; 00018 shieldLEDGreen = 255; 00019 }
Generated on Sat Jul 16 2022 07:10:59 by
1.7.2
