Troubleshooting checklist
- [YES] I read the README (on master) thoroughly
- [YES] I ran the MAX30100_Tester and I'm going to paste the output down below
- [YES] I filled in all the details of my setup down below
Description of the issue
I am using the MAX30100_Minimal and it is working fine. However, I would like more decimals (higher precision) of my SpO2 output. Can anyone help with this regarding the pox.getSpO2() function?
I tried using a float:
Serial.print(float(pox.getSpO2()),4);
But it just put four zeroes after my SpO2 result (like 98.0000 %). What I am looking for is to get numbers like 97.5482 %.
Hope someone can help. Thank you.
Output from MAX30100_Tester example
Details of my setup
- Arduino hardware: Arduino UNO
- MAX30100 breakout:
- Arduino framework version:
- MAX30100 library version: MAX30100_Minimal
Troubleshooting checklist
Description of the issue
I am using the MAX30100_Minimal and it is working fine. However, I would like more decimals (higher precision) of my SpO2 output. Can anyone help with this regarding the pox.getSpO2() function?
I tried using a float:
Serial.print(float(pox.getSpO2()),4);
But it just put four zeroes after my SpO2 result (like 98.0000 %). What I am looking for is to get numbers like 97.5482 %.
Hope someone can help. Thank you.
Output from MAX30100_Tester example
Details of my setup