max30102
max30102 copied to clipboard
How to run it on Ras Pi4? Is it compatible with Max30101?
Please ask your question
Hi, I'm using Raspi 4 and Max30101.
I tried to follow the readme in the RasPi project. But having bug when I'm trying to execute after "find_package(max30102 REQUIRED)"
It shows "syntax error near unexpected token 'max30102'
And when I'm executing "./max30102 -i" or "./max30102 -p" or "./max30102 -t reg" it works as expected but when executing "./max30102 -t fifo --times=3" it shows read timeout.
The reason why I'm using this lib for Max30101 is because when I use this library https://github.com/sparkfun/SparkFun_MAX3010x_Sensor_Library
The SparkFun lib works for both Max30102 and Max30101 so I thought might be worth a try. Please let me know if there is anything I have done wrong or if this Max30102 just simply doesn't work on Max30101 or if there is anything I can do to make it work on 30101. Thank you for your time and understanding.
Additional context
No response