1-Wire® library for mbed. Complete 1-Wire library that supports our silicon masters along with a bit-bang master on the MAX32600MBED platform with one common interface for mbed. Slave support has also been included and more slaves will be added as time permits.
Dependents: MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more
Superseded by MaximInterface.
Diff: OneWire_Masters/OneWireMaster.cpp
- Revision:
- 42:698635a0d073
- Parent:
- 36:b6b5985a5e40
- Child:
- 43:23017dcd2ec3
diff -r dc1cf71e38f7 -r 698635a0d073 OneWire_Masters/OneWireMaster.cpp --- a/OneWire_Masters/OneWireMaster.cpp Tue Apr 05 17:40:12 2016 -0500 +++ b/OneWire_Masters/OneWireMaster.cpp Wed Apr 06 04:30:37 2016 +0000 @@ -63,6 +63,8 @@ { OneWireMaster::CmdResult result; SearchState searchState; + + searchState.romId = romId; // set search to find the same device searchState.last_discrepancy = 64;