diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-20 19:21:50 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-20 19:21:50 +0100 |
commit | fd6fe2ceada168e33a01cbdf9503f180cb30c58b (patch) | |
tree | 4be283bc16aa0a4abe126ea14fdcadde7683a1c1 /src/lib.rs | |
parent | 2a2f25b35c8411a5932e576b5d0969d3928c7209 (diff) | |
download | ads1x1x-async-fd6fe2ceada168e33a01cbdf9503f180cb30c58b.tar.gz ads1x1x-async-fd6fe2ceada168e33a01cbdf9503f180cb30c58b.tar.xz ads1x1x-async-fd6fe2ceada168e33a01cbdf9503f180cb30c58b.zip |
Add function to read last measurement in continuous mode
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -203,7 +203,9 @@ pub enum Error<E> { /// I²C/SPI bus error Comm(E), /// Invalid input data provided - InvalidInputData + InvalidInputData, + /// Continuous measurement was not started + NotStarted, } const DEVICE_BASE_ADDRESS : u8 = 0b100_1000; |