Library for interfacing with a 'Pulse Sensor Amped', from

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:
void sendDataToProcessing(char symbol, int data)
    pc.printf("%c%d\r\n", symbol, data);

int main() {
    PulseSensor sensor(p15, sendDataToProcessing);


    while(1) {


Download repository: zip gz

Files at revision 0:e80a245c4d0d

Name Size Actions
PulseSensor.cpp 6119 Revisions Annotate
PulseSensor.h 3507 Revisions Annotate