liber-coder / max30102_demo_only_c Goto Github PK
View Code? Open in Web Editor NEWC language demonstration of measuring heart rate and blood oxygen with MAX30102
C language demonstration of measuring heart rate and blood oxygen with MAX30102
你好,我用你的程序,测出来的心率和血氧都是-999
你好,我想网上买了一个黑色的max30102模块,根据你的实现例程,在烧录进行以后,我确认接口没问题,但是烧录进去之后,得不到稳定的血氧和心率,一直显示-999
-999 问题原因是因为硬件差异
硬件新老版本不同会导致FIFO数据格式不同(red数据和IR数据先后顺序互换),所以只需要做如下改动即可解决 -999 问题
#ifdef NEW_VERSION
maxim_max30102_read_fifo((aun_ir_buffer+i), (aun_red_buffer+i)); //新版本
#else
maxim_max30102_read_fifo((aun_red_buffer+i), (aun_ir_buffer+i)); //旧版本
#endif
遇到相同问题的可以尝试一下
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.