program to detect seal using resistive fabric network. Program defines a class for seal detect object that uses i2c object to read from 8 channel adc inputs of resistive fabric ring. Uses neopixles to provide feedback on secure seal. Uses NeoStrip library for neopixel class and methods.
Dependencies: SealDetection mbed
Diff: main.cpp
- Revision:
- 0:5c1b87a3b421
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Dec 02 04:50:27 2016 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "sealDetect.h" + +int main() { + sealDetect test1(p9, p10, p30); + test1.startReading(); + while(1) { + + //test1.stopReading(); + wait(0.5); + } +}