Set mode and check if it will be use
Hy i have a BMP_180 and want to use the ultra-low mode. I'm not sure how i can check, if the ultralow mode is in use?
i read the *.h file and found the option:
#define BMP085_ULTRALOWPOWER 0
is it enough to use this code line after include the libary?
how can i check, if it is really in use?
thank you
is there any function to read the byte, to know, what mode is active?
Specify the desired mode in the call to begin(). The default is BMP085_ULTRAHIGHRES.
ex:
bmp.begin(BMP085_ULTRALOWPOWER);
okay, but how i can it control in the loop? to know if it is "really" set? is it enough to set it in the status "if"?
i have it so in my sktech:
Serial.begin(9600); if (!bmp.begin(BMP085_ULTRALOWPOWER)) { Serial.println("Could not find a valid BMP180sensor, check wiring!"); while (1) {} }