Breath

Dependencies:   NeoStrip mbed

Fork of Breath by Ryan Williams

Revision:
1:86d9b36d9132
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Dec 01 03:04:38 2016 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "windSensor.h"
+#include "NeoStrip.h"
+
+#define MPL3115A2_I2C_ADDRESS (0x60<<1)
+NeoStrip strip(p20,2);
+windSensor sensor(p15, &strip, p9, p10, MPL3115A2_I2C_ADDRESS);
+
+int main() {
+    while(1){
+        sensor.give_breath(); 
+        }
+}
\ No newline at end of file