Use this code as a template for Question 1

Dependencies:   mbed

Fork of Board1Prg2 by IIOT Lecturers

Files at this revision

API Documentation at this revision

Comitter:
selvakumararm
Date:
Wed Sep 12 05:59:47 2018 +0000
Parent:
0:bcf6fcde4f32
Commit message:
Use this code as template for Q1

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Mar 28 07:33:30 2018 +0000
+++ b/main.cpp	Wed Sep 12 05:59:47 2018 +0000
@@ -1,7 +1,6 @@
 #include "mbed.h"
  
 DigitalOut myled(LED1);
-//DigitalIn button1(USER_BUTTON);
 InterruptIn  button1(USER_BUTTON);
  
 bool active = false;