An arduino sketch, working as a pulse oximeter with M5StickC and Mini Heart Rate Unit (MAX30100), both from M5Stack.
M5StickC ESP32-PICO Mini IoT Development Kit – m5stack-store https://m5stack.com/products/stick-c
Mini Heart Rate Unit (MAX30100) – m5stack-store https://m5stack.com/products/mini-heart-unit
To build binary, MAX30100lib library is needed.
This sketch is originated from MAX30100_Minimal.ico, a sample sketch in MAX30100lib.
For more information, see https://attosci.hatenablog.com/entry/index.php/2020/04/26/m5stackc-pulseoximeter/