Charles Tritt / Mbed 2 deprecated NoHeaderTest

Dependencies:   mbed

Fork of HeaderTest by Charles Tritt

Revision:
0:cc014c610423
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/myStuff.cpp	Thu Oct 19 21:05:11 2017 +0000
@@ -0,0 +1,17 @@
+/*
+  Project: HeaderTest
+  File: myStuff.cpp
+  Last revised by: Dr. C. S. Tritt
+  Last revision on: 10/19/17 (v. 1.0)
+  
+  This is the source file for the myStuff function. It toggles the LED.
+*/
+// See include comments in main.cpp and myProj.h.
+#include "mbed.h"
+#include <myProj.h>
+
+void myStuff(void) {
+    board_LED = !board_LED; // Toggle LED state.
+    wait(BASE_WAIT * (float) cycles); // Wait varying intervals.
+    cycles++; // Slowly slow down flash rate.
+}
\ No newline at end of file