From 9926e0ac414371bcaea5302a50715bd631267fcf Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Wed, 6 Mar 2013 16:55:37 +0100 Subject: Set L3GD20 to max bandwidth. --- drivers/l3gd20.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/l3gd20.h b/drivers/l3gd20.h index 0113792..f305de1 100644 --- a/drivers/l3gd20.h +++ b/drivers/l3gd20.h @@ -20,7 +20,7 @@ class L3GD20 { spi.reg.CR1 = 0x37f; cs.off(); spi.transfer_byte(0x40 | 0x20); - spi.transfer_byte(0x0f); + spi.transfer_byte(0xff); cs.on(); } -- cgit v1.2.3