Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/sfTk/sfDevXM125Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ sfTkError_t sfDevXM125Core::begin(sfTkII2C *theBus)
// Sets communication bus
_theBus = theBus;

// set the byte order to BIG Endian - the sensor works with Big E
_theBus->setByteOrder(sfTkByteOrder::BigEndian);

// return the value of ping
return theBus->ping();
}
Loading