Mercurial > public > hwos_code
diff src/i2c.asm @ 645:070528a88715
3.16 release
author | heinrichsweikamp |
---|---|
date | Sun, 07 Nov 2021 12:39:23 +0100 |
parents | 7d8a4c60ec1a |
children | ef2ed7e3a895 |
line wrap: on
line diff
--- a/src/i2c.asm Mon May 24 18:41:51 2021 +0200 +++ b/src/i2c.asm Sun Nov 07 12:39:23 2021 +0100 @@ -756,13 +756,13 @@ rcall I2C_TX ; send byte movlw 0xA0 ; 0x20 with auto-increment (MSB=1) rcall I2C_TX ; send byte - movlw b'01110000' ; CTRL_REG1_M (10Hz) 0x20 + movlw b'01110000' ; CTRL_REG1_M (10Hz, X and Y in Ultra-high performance mode) 0x20 rcall I2C_TX ; send byte movlw b'01100000' ; CTRL_REG2_M (Full-scale: +/- 16gauss) 0x21 rcall I2C_TX ; send byte movlw b'01000000' ; CTRL_REG3_M (Continuous) 0x22 rcall I2C_TX ; send byte - movlw b'00000000' ; CTRL_REG4_M (Z in Low-power mode) 0x23 + movlw b'00001100' ; CTRL_REG4_M (Z in Ultra-high performance mode) 0x23 rcall I2C_TX ; send byte movlw b'00000000' ; CTRL_REG5_M 0x24 rcall I2C_TX ; send byte