Skip to content

Higher Precision #81

Description

@ChristinaNy

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions