-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding ReadStatus function. Adding logic to wait until sensor is fini…
…shed reading before returing a measurement.
- Loading branch information
finitespace
authored and
finitespace
committed
Dec 27, 2017
1 parent
335a562
commit 2000dc7
Showing
2 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
status.measuring must be equal to statusBits & 0x08; // because Bit 3, das heisst (which means) 1<<3