Skip to content

Commit

Permalink
fix LIS2DH12 initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed May 25, 2017
1 parent 634edd1 commit 4b6c414
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions devices/LIS2DH12.js
Expand Up @@ -22,6 +22,11 @@ var C = {
XYZ_EN_MASK:0x07,
// CTRL_REG4
HR_MASK:0x08,

SCALE2G:0, /**< Scale Selection */
SCALE4G:1,
SCALE8G:2,
SCALE16G:3
};

function LIS2DH12(spi, cs, callback) {
Expand Down

0 comments on commit 4b6c414

Please sign in to comment.