Replies: 2 comments
-
Hi, I was using your file hrcalc.py to find values of hr and spo2. And to check the code, I passed a demo code which will pass a few readings,(not 100). And I faced an error. |
Beta Was this translation helpful? Give feedback.
-
So when I hooked the MAX30102 sensor up properly to my Raspberry Pi Zero, I tried to run the program only to get the following errors in Thonny. Line 5 in module: m = max30102.MAX30102() Line 55 in init: self.bus = smbus.SMBus(self.channel) Yet I have everything installed along with the python files in the same folder. If anyone could help with my situation I'd greatly appreciate it. |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
From the author of the repo
I don't think that this repo is a library to use MAX30102 on Raspberry Pi.
I just did re-write the Arduino sample codes to Python codes.
However, I understand some demand for providing APIs (like other MAX30xxx repos).
I hope we can do some discussion (use Ideas for suggesting ideas to enhance this repo).
General comments and tips are of course welcome.
Beta Was this translation helpful? Give feedback.
All reactions