I tried out your sample for heart rate sensor. I get this error while compiling,
In file included from /Users/******/Documents/Arduino/libraries/gsPulseHeartRate/gsPulseHeartRate.h:12:0,
from sketch_dec19a.ino:1:
/Users/*****/Documents/Arduino/libraries/gsPulseHeartRate/mraa/aio.hpp: In constructor 'mraa::Aio::Aio(unsigned int)':
/Users/******/Documents/Arduino/libraries/gsPulseHeartRate/mraa/aio.hpp:50:94: error: exception handling disabled, use -fexceptions to enable
throw std::invalid_argument("Invalid AIO pin specified - do you have an ADC?");
Any idea, what am I doing wrong here?
Also a request, please elaborate the readme.md file on Git, it will be very helpful for the first time users like me.
Thanks.