-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
I'm using a Raspberry Pi Pico running micropython.
I have the device attached on the hardware I2C pins and I pass through the instance just fine
Sensor setup works. However I can't seem to read any actual data from it
Using the example you have given I get strange errors, most are related to strings in the check function, for example:
Traceback (most recent call last):
File "<stdin>", line 42, in <module>
File "max30102.py", line 714, in safe_check
File "max30102.py", line 668, in check
TypeError: ord() expected a character, !string of length 536990608 found
Other times, I get a few readings then it just freezes.
I have tried with check() and safe_check()
Both give the same result
Also the readings I get are like this:
22665 , 30041
22663 , 30040
22661 , 30038
22660 , 30039
22660 , 30041
22661 , 30044
22663 , 30052
22668 , 30063
22672 , 30073
22673 , 30075
22669 , 30070
22667 , 30068
22665 , 30068
22666 , 30071
22667 , 30074
Are they normal for this sensor?
Metadata
Metadata
Assignees
Labels
No labels