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.
Diff: DS1624.h
- Revision:
- 1:fc952e73a23e
- Parent:
- 0:53a09ccc5f8e
- Child:
- 2:a035362e82c0
--- a/DS1624.h Wed Jan 31 16:39:34 2018 +0000
+++ b/DS1624.h Wed Jan 31 16:57:05 2018 +0000
@@ -109,7 +109,7 @@
typedef struct {
uint8_t MSBTemperature;
uint8_t LSBTemperature;
- uint8_t Control_Status_Register;
+ char Control_Status_Register;
float Temperature;
} DS1624_vector_data_t;
@@ -176,11 +176,11 @@
/** It reads a certain number of bytes from EEPROM memory.
*/
- DS1624_status_t DS1624_ReadBytesEEPROM ( uint8_t myStartingAddress, uint8_t* myReadBytesEEPROM, uint8_t myLength );
+ DS1624_status_t DS1624_ReadBytesEEPROM ( char myStartingAddress, char* myReadBytesEEPROM, uint8_t myLength );
/** It writes a certain number of bytes to EEPROM memory.
*/
- DS1624_status_t DS1624_WriteBytesEEPROM ( uint8_t myStartingAddress, uint8_t myWriteBytesEEPROM[], uint8_t myLength );
+ DS1624_status_t DS1624_WriteBytesEEPROM ( char myStartingAddress, char myWriteBytesEEPROM[], uint8_t myLength );