AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ds1307 bascom program for rf3/10/2024 ![]() ![]() byte rates //Array of heart rates byte ratespot = 0 long lastbeat = 0 //Time at which the last beat occurred float beatsperminute int beatavg void setup() Serial.begin(115200) Serial.println("Initializing.") // Initialize sensor if (!particlesensor.begin(wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed Serial.println("MAX30105 was not found. ![]() 2 Technical parameters Working voltage: DC 5V Working current: 60mA Maximum power: 0.3W Operating temperature range: -25 C to +65 C Communication interface: I2C communication (4pin pitch is 2.54mm pin) Size: 20*36*7mm Weight: 2.5g Environmental attributes: ROHS Wiring Diagram 2ģ Test Code ************************************************** #include #include "MAX30105.h" #include "heartrate.h" MAX30105 particlesensor const byte RATE_SIZE = 4 //Increase this for more averaging.
0 Comments
Read More
Leave a Reply. |