-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I develop simple temperature reading using Protocentral_MAX30205 with arduino nano, I try to consume my current consumption using shutdown mode function but MAX30205 doesn't go to sleep mode It's maintain 2mA current every time so please help me how to put sleep mode in MAX 30205
this is my code
#include <Wire.h>
#include "Protocentral_MAX30205.h"
MAX30205 tempSensor;
void setup() {
// put your setup code here, to run once:
Wire.begin();
Serial.begin(9600);
tempSensor.begin(); // set continuos mode, active mode
}
void loop() {
float temp = tempSensor.getTemperature(); // read temperature for every 100ms
Serial.print(temp ,2);
Serial.println("'c" );
tempSensor.shutdown();
delay(1000);
}
Metadata
Metadata
Assignees
Labels
No labels