Commit Graph

13 Commits (3dfa61987f582fb8c9fb3edfbee99c6e31073bed)

Author SHA1 Message Date
bpds 3dfa61987f
Fixing inconsistent Read of device id on multiple instantiation. 2 years ago
bpds 5eba749b5f
Added I²C support.
- Removed useless ReadRaw
- Changed the scope of ReadAndCombine to private readAndCombine
2 years ago
bpds 9ddc05227d
Some adxlXXX device may be well-supported so i added an internal switch to automatically recognize the device or enable to test one by declaring its expected value. 2 years ago
bpds b62bbe245f
Prepare to support I2C in the future 2 years ago
bpds a5a4a2c870
Doc 2 years ago
bpds 99ce1e25a3
Licence compliance, adding Copyright 2023 The Periph Authors. All rights reserved.... 2 years ago
bpds 7e0a946901
- 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 75b1480cb3
Sensitivity String returns a human readable value 2 years ago
bpds 9f4770f8c7
Added a bunch of clarifications 2 years ago
bpds 76bf276307
Expose the simpliest api possible. 2 years ago
bpds 006e2f063c
Keep it simple remove useless Acceleration func 2 years ago
bpds d3ad1aac1e
Added sensitivity option. 2 years ago
bpds a0f580fcea
adxl345: Driver, initial commit for review. 2 years ago