DavidArmstrong / SCL3300

Arduino library for interfacing with the Murata SCL3300 Inclinometer via SPI
MIT License
20 stars 11 forks source link

SCL3300 Serial Number is not reported correctly #6

Closed DavidArmstrong closed 4 years ago

DavidArmstrong commented 4 years ago

On further testing of the getSerialNumber() function, it was discovered that the number fetched was incorrectly calculated from the two 16-bit registers that had to be read. Opening this issue to fix this, and get the correct value reported and displayed, as outlined in the manufacturer datasheet.

DavidArmstrong commented 4 years ago

code changes have been merged.