Closed viggi1000 closed 7 years ago
Hey @viggi1000 thanks for using the library! I added two methods: shutdown/resume (to both base sensor class and mirrored upstream on the PulseOximeter helper). As stated on page 15 of the MAX30100 datasheet (https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf), putting the unit into shutdown mode preserves the registers states. So you have just to invoke shutdown() when you want to put the sensor to sleep and resume() when you're ready to read new samples. Could you test it, please? You'll find them on commit 903ec2a
I've just tagged a new version, so you'll find it on v1.1.0
I will check it out at the soonest and let you know. Can't thank you enough actually!
On Sat, 22 Apr 2017, 23:20 OXullo Intersecans, notifications@github.com wrote:
I've just tagged a new version, so you'll find it on v1.1.0
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/oxullo/Arduino-MAX30100/issues/18#issuecomment-296390004, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPEax8bMRP3LYC63H38kn8DoQ1ubb4mks5ryj3PgaJpZM4M9f2w .
@viggi1000 I'm closing the issue, feel free to reopen if needed
Hi, Thanks for your amazing library man!
I used it for a low cost neonatal incubator. I was actually having issues with entering low power modes. I want to take readings every 2 minutes and then go to sleep but the MAX30100 led is still blinking, I did try changing the LED current function to 0 but that screws up the HR and SP readings. I was wondering if there is any function to exit pox.begin() and turn off the LED and then reset the BPM and SP readings?
Sorry if I am being a bit too vague or silly, I'm rather new to firmware dev.