Library for interfacing with a 'Pulse Sensor Amped', from http://pulsesensor.myshopify.com
Dependents: finalProject PulseSense HealthCare_Graduation 4180project ... more
Simple mbed application for monitoring a pulse sensor
#include "mbed.h" #include "PulseSensor.h" Serial pc(USBTX, USBRX); /** Print the data in a format that can be parsed by the * Processing application available here: http://pulsesensor.myshopify.com/pages/code-and-guide */ void sendDataToProcessing(char symbol, int data) { pc.printf("%c%d\r\n", symbol, data); } int main() { PulseSensor sensor(p15, sendDataToProcessing); pc.baud(115200); sensor.start(); while(1) { } }
History
Initial version.
2014-02-09, by donalm [Sun, 09 Feb 2014 15:37:19 +0000] rev 0
Initial version.