Skip to content

How to run it on Ras Pi4? Is it compatible with Max30101? #13

Open
@chen3082

Description

@chen3082

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions