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: oldheating heating
Diff: 1-wire-device.h
- Revision:
- 0:b4b170ce93a4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/1-wire-device.h Thu Apr 25 14:44:25 2019 +0000 @@ -0,0 +1,13 @@ +#define DEVICE_MAX 8 + +#define DEVICE_ADDRESS_STRING_LENGTH 24 + +extern int DeviceCount; +extern char DeviceList[]; +extern void DeviceAddressToString(char* pAddress, char* buffer); +extern void DeviceParseAddress(char* pText, char *pAddress); + +extern int DeviceScanMs; +extern bool DeviceBusy(void); +extern void DeviceInit(void); +extern int DeviceMain(void); \ No newline at end of file