Hey all...I'm new to python programming and the raspberry pi. I've got my BMP085 hooked up correctly to read sensor measurements. Right now, I've got this in a loop, but I'm trying to find an If True: statement that I could use on the BMP085 to determine if it goes into the measurement loop.
For example, the adafruit ultimate GPS guide utilizes the following:
- Code: Select all
if report['class'] == 'TPV':
and then grabs the info if that is true. I'd like to find something for the BMP085 but haven't been able to find a relevant statement for it.
Hope this makes sense, thanks.