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/DS248x/ds248x.h
- Revision:
- 6:1faafa0b3cd7
- Parent:
- 5:ce108eeb878d
- Child:
- 14:7b2886a50321
--- a/OneWire_Masters/DS248x/ds248x.h Tue Feb 09 03:30:22 2016 +0000 +++ b/OneWire_Masters/DS248x/ds248x.h Tue Feb 09 20:08:51 2016 +0000 @@ -329,7 +329,8 @@ private: - Ds248x(DS248X_I2C_ADRS adrs); + //private fx for initializing _w_adrs and _r_adrs + void set_i2c_adrs(DS248X_I2C_ADRS adrs); I2C *_p_i2c_bus; uint8_t _w_adrs, _r_adrs;