max86150
- MAX86150¶
-
class
max86150.
MAX86150
(callback=None, sample_buffer_len=128, sample_rate=200, prox_callback=None)[source]¶ The MAX86150 class provides a stream interface to the MAX86150 PPG and ECG.
Example:
import max86150 m = max86150.MAX86150() data = m.read() for sample in data: print("Red: {} Infrared: {} ECG: {}", sample.red, sample.infrared, sample.ecg) m.close()
New in version 1.16.