Commit Graph

26 Commits

Author SHA1 Message Date
d8ec083dbc Apply clippy suggestions 2024-10-14 13:25:49 +08:00
1962135e79 Apply cargo fmt 2024-10-14 13:25:49 +08:00
407c0998af ad7172: set output data rate to 10 Hz 2020-09-28 01:24:32 +02:00
aea306cf17 config: save postfilter setting 2020-09-26 01:40:01 +02:00
20059aff5c channel_state: recognize unplugged thermistor 2020-09-24 23:34:09 +02:00
a4dde1b8ca delint 2020-09-18 00:55:53 +02:00
7d45d5ad32 adc: complete temperature calculation 2020-09-16 20:50:23 +02:00
c11b71cc0d adc: don't calibrate but convert using ChannelCalibration 2020-09-09 23:10:33 +02:00
34c2da4484 ad7172: fix calibration 2020-05-17 02:11:53 +02:00
dcf7babf32 ad7172: delint, doc 2020-03-21 00:34:22 +01:00
b345cc0865 use embedded_hal through stm32f4xx_hal instead of direct dependency
this will aid maintainability.
2020-03-21 00:22:38 +01:00
da65ea21a4 ad7172: eliminate superfluous AdcError 2020-03-21 00:10:12 +01:00
8e41c44303 adc: use ref_sel=external 2020-03-21 00:06:27 +01:00
1cba8e56c9 ad7172: add calibrate_offset() 2020-03-21 00:06:09 +01:00
194871c85a ad7172: readback after write_reg() 2020-03-20 23:19:31 +01:00
4c3c8498e9 ad7172: retry corrupt transfers 2020-03-20 00:45:40 +01:00
82dba2bb67 ad7172: work on adc setup 2020-03-20 00:45:10 +01:00
bb51cce6f6 ad7172: remove stale code 2020-03-19 23:46:55 +01:00
723901b341 adc: read u32 for unipolar coding 2020-03-19 23:39:06 +01:00
bec7019f3a delint 2020-03-19 22:21:17 +01:00
c00c1bb081 main: connect adc/sh/pid/dac, split out into mod channel_state 2020-03-19 22:11:36 +01:00
e5b4789304 replace dependency lexical-core with num-traits 2020-03-19 19:51:59 +01:00
0f4442b124 switch pid+steinhart_hart parameters from f32 to f64 2020-03-18 21:56:52 +01:00
c377706e0e ad7172: move setup from main 2020-03-12 00:44:28 +01:00
44c8ff54c1 ad7172::checksum: improve 2020-03-12 00:43:52 +01:00
99f7f2b548 Pins::setup, replace adc_input with ad7172 2020-03-11 23:16:48 +01:00