Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: OneWireTest mbed_blinky Affich_Lum_Moist Projetv0 ... more
Diff: OneWireDevice.h
- Revision:
- 3:7bd102cb73e0
- Parent:
- 2:07da4deb7135
--- a/OneWireDevice.h Tue Dec 18 11:40:28 2012 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-#ifndef ONEWIREDEVICE_H
-#define ONEWIREDEVICE_H
-
-#include "OneWire.h"
-
-class OneWireDevice {
-public:
- OneWireDevice(OneWire* ow, DeviceAddress devAddr);
- //~OneWireDevice();
- void generateId(char* id);
- uint8_t getFamily();
-
- virtual void sendSetCommand(OneWireDeviceCmd cmd, uint8_t data) {};
- virtual float sendGetCommand(OneWireDeviceCmd cmd) {
- return 0;
- };
-
-protected:
- OneWire* owBus;
- DeviceAddress address;
-};
-
-#include "OneWireDeviceFactory.h"
-#include "OneWireDeviceTemperature.h"
-
-#endif
\ No newline at end of file