Library to communicate with Maxim OneWire protocol devices Modified timings and IRQ overrides
Fork of Onewire by
Diff: Onewire.h
- Revision:
- 8:5d0bd95b586f
- Parent:
- 7:0a87f8c2d9e6
--- a/Onewire.h Thu Oct 15 21:39:21 2015 +0000 +++ b/Onewire.h Fri Oct 16 06:25:11 2015 +0000 @@ -6,10 +6,10 @@ #define ONEWIRE_ADDR_BYTES 8 const int ONEWIRE_OK = 0; -const int ONEWIRE_SEARCH_ALL_DONE = 1; -const int ONEWIRE_SEARCH_INIT_FAIL = 2; -const int ONEWIRE_SEARCH_NOT_FOUND = 3; -const int ONEWIRE_SEARCH_STUCK_HIGH = 4; +const int ONEWIRE_FAIL_STUCK_LOW = 1; +const int ONEWIRE_SEARCH_ALL_DONE = 2; +const int ONEWIRE_SEARCH_INIT_FAIL = 3; +const int ONEWIRE_SEARCH_NOT_FOUND = 4; const int ONEWIRE_SEARCH_COMP_BIT_ERR = 5; class Onewire