relay exmaples

Fork of Hexi_Click_Relay_Example by Hexiwear

Files at this revision

API Documentation at this revision

Comitter:
maclobski
Date:
Thu Aug 25 16:45:46 2016 +0000
Parent:
0:b492a09a523e
Commit message:
changed to slot 2;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 24 22:27:49 2016 +0000
+++ b/main.cpp	Thu Aug 25 16:45:46 2016 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 
-DigitalOut relay1(PTA10);
-DigitalOut relay2(PTC4);
+DigitalOut relay1(PTA11);
+DigitalOut relay2(PTC3);
 
 // main() runs in its own thread in the OS
 // (note the calls to Thread::wait below for delays)