Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: finalProject PulseSense HealthCare_Graduation 4180project ... more
Homepage
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) { } }