Mercurial > public > hwos_code
diff src/i2c.asm @ 498:e8351dd7bb90
compass1 full scale gain test
author | heinrichsweikamp |
---|---|
date | Wed, 19 Apr 2017 12:54:00 +0200 |
parents | 6ca155fc1509 |
children | dd28d4efd4d2 |
line wrap: on
line diff
--- a/src/i2c.asm Mon Apr 03 12:21:03 2017 +0200 +++ b/src/i2c.asm Wed Apr 19 12:54:00 2017 +0200 @@ -496,9 +496,9 @@ movlw b'01100100' ; CTRL5 HIGH res, 6,25Hz rcall I2C_TX init_compass1_common: - ;movlw b'01100000' ; CTRL6 Full scale (+/-12 Gauss -> 2730LSB/Gauss) + movlw b'01100000' ; CTRL6 Full scale (+/-12 Gauss -> 2730LSB/Gauss) ;movlw b'00000000' ; CTRL6 (+/-2 Gauss) - movlw b'00100000' ; CTRL6 (+/-4 Gauss) + ;movlw b'00100000' ; CTRL6 (+/-4 Gauss) rcall I2C_TX movlw b'00000000' ; CTRL7 Continuous Mode rcall I2C_TX