max30001 - MAX30001

class max30001.MAX30001(usb=False, bias=True, sample_rate=128, callback=None, sample_buffer_len=256)[source]

The MAX30001 class provides a stram interface to the MAX30001 ECG and BIO-Z sensor.

import max30001
m = max30001.MAX30001()
m.read()
m.close()
enable_sensor()[source]

Enables the sensor. Automatically called by __init__.

close()[source]

Close the currently open connection to the sensor.

read()[source]

Read as many samples (signed integer) as currently available.