added toto regarding crc
This commit is contained in:
parent
ae18a25c69
commit
17b0bb435c
@ -265,6 +265,7 @@ void DS2438::writePage(int page, uint8_t *data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean DS2438::readPage(int page, uint8_t *data) {
|
boolean DS2438::readPage(int page, uint8_t *data) {
|
||||||
|
//TODO if all data is 0 0 is a valid crc, but most likly not as intended
|
||||||
_ow->reset();
|
_ow->reset();
|
||||||
_ow->select(_address);
|
_ow->select(_address);
|
||||||
_ow->write(DS2438_RECALL_MEMORY_COMMAND, 0);
|
_ow->write(DS2438_RECALL_MEMORY_COMMAND, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user