Commit Graph

7 Commits (d15a6e9300e9739079d0e4bacca79fbcb0ef9ee0)

Author SHA1 Message Date
bpds 5fec9d4a45
Added I²C support.
- Removed useless ReadRaw
- Changed the scope of ReadAndCombine to private readAndCombine
2 years ago
bpds c7ff3e4ed4
Prepare to support I2C in the future 2 years ago
bpds d4248ebe06
Licence compliance, adding Copyright 2023 The Periph Authors. All rights reserved.... 2 years ago
bpds d22b1046b4
- Mark the register constants more explicitly.
- Moved the Sensitivity constants to a dedicated section.
- SpiFrequency is set to 2Mz ( ADXL345 supports up to 5Mz )
- Removed the TurnOnOnStart options, we start measuring on instantiation.
- Minor typo and example.go fix.
2 years ago
bpds 641bb8a883
Added sensitivity option. 2 years ago
bpds 8778b8a954
adxl345: Driver, initial commit for review. 2 years ago
Benoit Pereira da Silva 931687b33a
adxl345: Driver, initial commit for review. (#66)
Accelerator sensor. Supports SPI, designed to support I2C in the future.
2 years ago