delay

Dependents:   btn

Files at this revision

API Documentation at this revision

Comitter:
nguyenmanhthao996tn
Date:
Sat Sep 30 09:12:23 2017 +0000
Commit message:
Worked version

Changed in this revision

delay.cpp Show annotated file Show diff for this revision Revisions of this file
delay.h Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/delay.cpp	Sat Sep 30 09:12:23 2017 +0000
@@ -0,0 +1,2 @@
+#include "delay.h"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/delay.h	Sat Sep 30 09:12:23 2017 +0000
@@ -0,0 +1,10 @@
+#ifndef __DELAY__
+#define __DELAY__
+
+/*********** Libraries ***********/
+#include "mbed.h"
+
+/*********** Constants ***********/
+#define delay_ms(miliseconds) wait_ms(miliseconds)
+
+#endif /* __DELAY__ */
\ No newline at end of file