sadasd

Dependencies:   mbed

Fork of Nucleo_read_button by joseph chen

Revision:
1:52e576abcb8a
Parent:
0:c9d8fcdda4d0
Child:
2:5d81a684944c
--- a/main.cpp	Fri Feb 21 12:57:03 2014 +0000
+++ b/main.cpp	Thu May 05 02:43:46 2016 +0000
@@ -1,9 +1,11 @@
 #include "mbed.h"
  
-DigitalIn mybutton(USER_BUTTON);
+DigitalIn mybutton(PC_13);
 DigitalOut myled(LED1);
  
 int main() {
+  
+  
   while(1) {
     if (mybutton == 0) { // Button is pressed
       myled = !myled; // Toggle the LED state