You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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
The text was updated successfully, but these errors were encountered:
Hello, "find_ package()" is a command for CMake to find dependent libraries. It must be written in CMakelists.txt. It is not a command for shell running. It is not necessary for our test. You can just run "make" command and then test this driver.
In order to run the driver efficiently, we use the FIFO interrupt trigger method instead of the SparkFun rotation training method. Therefore, you must connect the INT pin to the raspberry GPIO17. In addition, you need a 4-6 K Ω resistor to connect to 5V, because the interrupt pin of MAX30102 is open-drain.
You can try the above method first. If you have any questions, please contact me.
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
The text was updated successfully, but these errors were encountered: