Commit Graph

38 Commits

Author SHA1 Message Date
2c4b1dbbe5 cleanup 2024-08-19 01:27:16 +01:00
d0aa9e1137 FIFO modes being worked on 2024-01-06 23:28:58 +00:00
8648c517f6 rework poll/read and amend examples 2024-01-06 16:51:22 +00:00
0a0cf2a7aa fix reg order and longer sleep after configure(). Amend notes on usage 2024-01-06 01:36:35 +00:00
485922d898 SPI working! when using SPI, the order of writing out ctrl_reg's matters....but seemingly not when using i2c 2024-01-06 00:52:37 +00:00
89e9d9310d accel readings now i16 (1lsb per 1mg) instead of float 2024-01-04 20:20:51 +00:00
bd76380a65 adc/temp integer 2024-01-04 19:54:13 +00:00
3b3b00a9f8 working on SPI 2024-01-04 14:37:44 +00:00
b86e97662a revised examples 2024-01-02 14:57:30 +00:00
e9c37cfca7 I am stupid 2024-01-02 11:04:37 +00:00
96a2a8336a fixed old examples 2024-01-02 11:00:49 +00:00
50a491a1be double click 2024-01-01 13:08:06 +00:00
1a54ce4e5e single click detection 2024-01-01 11:05:45 +00:00
d1ab5a8d99 more src reg interaction 2024-01-01 10:15:57 +00:00
432bf4d421 temperature 2023-12-31 15:41:24 +00:00
70dd2c9a1b ADC 2023-12-31 15:24:40 +00:00
f64bf4a72d all registers 2023-12-31 14:14:12 +00:00
16b40de1e1 lis3dh_reset() and bit fiddle to prevent overwriting regs in case of user issue 2023-12-30 20:22:29 +00:00
87dd035d9e int to int_pin rename to avoid confusion with int regs 2023-12-30 15:36:35 +00:00
5bde365c65 examples and more debug flags 2023-12-30 13:10:40 +00:00
30508a8378 tidying and testing new functions 2023-12-29 23:24:15 +00:00
84e6fa4caa latch interrupts + fn to clear on device 2023-12-29 17:26:54 +00:00
4c4f858774 remove gpio unregister from quit() 2023-12-29 00:56:07 +00:00
7e8652c3b1 README: interrupt 2023-12-28 18:40:09 +00:00
b0907115c2 rename {pin1,pin2} => {int1,int2} 2023-12-28 18:15:25 +00:00
7ec153d397 interrupt generation 2023-12-28 18:10:34 +00:00
fd91ea1c73 cleanup and code examples in README 2023-12-27 19:54:47 +00:00
eac1eaa041 ansi 2023-12-23 15:37:33 +00:00
5d3d1437f9 c99 + comments 2023-12-23 13:31:59 +00:00
e9472ed1f0 pass FIFO data 2023-12-23 10:28:43 +00:00
cc4e64016c test 2023-12-22 21:59:31 +00:00
a5b704fbfe filter: decently filter out DC/constant acceleration 2023-12-22 17:00:53 +00:00
9ae2d4ce01 fix: device would sometimes corrupt its own registers. 2023-12-22 16:25:25 +00:00
0dff0b92c3 FIFO 2023-12-22 10:22:43 +00:00
31bcd4d12f tidying 2023-12-22 08:26:10 +00:00
509bae290b working simple example 2023-12-21 23:29:22 +00:00
f3c07a5c8b i2c 2023-12-21 20:52:17 +00:00
1726159cb8 . 2023-12-21 18:17:20 +00:00