a

Dependents:   3servotest 1stcomp 3rdcompfixstart 2ndcomp ... more

Fork of button by Tk A

Files at this revision

API Documentation at this revision

Comitter:
choutin
Date:
Sat Sep 17 23:21:13 2016 +0000
Parent:
3:cdeb282335a6
Commit message:
?

Changed in this revision

button.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r cdeb282335a6 -r 4202cede988e button.cpp
--- a/button.cpp	Fri Sep 16 08:50:15 2016 +0000
+++ b/button.cpp	Sat Sep 17 23:21:13 2016 +0000
@@ -15,7 +15,6 @@
 DigitalOut teamledred(PC_12);
 
 
-Serial pc3(SERIAL_TX, SERIAL_RX); 
 
 int phaseSW(void){  
    phase1.mode(PullUp);
@@ -24,7 +23,7 @@
    phase8.mode(PullUp);    
    
    int SW=phase1+2*phase2+4*phase4+8*phase8;
-   pc3.printf("%d\n\r",SW);
+
    return SW;
 }