Biomedical Data Acquisition Arduino MKR1000

Hi everyone,

I am currently new to the arduino platform and am looking to use the Arduino MKR1000 microcontroller to process and transmit electrocardiogram(ECG) data to a mobile device. I am currently trying to understand how to set a sampling rate on the MKR1000 so that I do not waste processing power on these low frequency input signals. I've been looking online for different solutions and have not been successful, if anyone out there could lend me a hand with this please let me know.

Thank you,