Simple cpp wrapper of a ds18b20, onewire 'c' library. Supports multiple sensors.
Dependents: LPC11U68_DS18B20Sensor
Fork of DS18B20Sensor by
Diff: onewire.h
- Revision:
- 4:89d7cbe220e1
- Parent:
- 0:1449f126b241
- Child:
- 5:0bcc4e42fec0
--- a/onewire.h Sun Mar 03 02:22:27 2013 +0000 +++ b/onewire.h Thu Jul 03 09:30:51 2014 +0000 @@ -10,7 +10,8 @@ //#define DEBUG 1 //#define DEBUG_L1 1 -#define ONEWIRE_PIN p30 +//#define ONEWIRE_PIN p30 +#define ONEWIRE_PIN P1_25 #define MAXSENSORS 16