Commit Graph

184 Commits

Author SHA1 Message Date
Astro 8611cc1c79 add configurable Steinhart-Hart equation 2019-10-02 19:55:33 +02:00
Astro 9486946d06 main: improve command resonses 2019-09-24 01:57:52 +02:00
Astro b508129c37 tec: make more brief 2019-09-24 01:45:51 +02:00
Astro fca427cb5a show pwm config of each tec channel 2019-09-24 01:45:11 +02:00
Astro 18e3e95615 group 4 PWM channels into Tec, add commands to configure them 2019-09-24 01:33:23 +02:00
Astro a82ffadb35 add PWM abstraction for TEC control 2019-09-23 16:50:43 +02:00
Astro 8d01ca8d20 rm unused test dependency 2019-09-19 15:38:00 +02:00
Astro f3664f01be command_parser: fix float parsing 2019-09-19 15:28:11 +02:00
Astro 6f36c682cd command_parser: add tests
Run with: cargo test --target=x86_64-unknown-linux-gnu
2019-09-19 14:56:34 +02:00
Astro 35dfba99e1 style 2019-09-19 03:29:06 +02:00
Astro 63aa2347b7 add remote postfilter configuration 2019-09-19 03:28:47 +02:00
Astro 87de8b7859 style 2019-09-19 02:18:37 +02:00
Astro e126bc0fe1 command_parser: parameterize `pid`, `pwm` with channel `<0/1>` 2019-09-19 02:17:54 +02:00
Astro 1514131fa3 ad7172: fix doc
Closes Gitea issue #1
2019-09-19 01:00:49 +02:00
Astro 6d4676a72a command_parser: fix pid 2019-09-19 00:59:16 +02:00
Astro f64e4fe2f3 main: don't log expected failure, log MAC to semihosting 2019-09-19 00:49:41 +02:00
Astro 2d2e7e80e0 ad7172: rm unused FiltCon odc setting 2019-09-19 00:49:26 +02:00
Astro 2ca06e023b command_parser: use combinators, allow trailing whitespace 2019-09-19 00:46:50 +02:00
Astro 4e5de7831b command_parser: fix non-optional whitespace after `report` 2019-09-18 23:25:40 +02:00
Astro db1788bafb ad7172: fix bits in regs::setup_con 2019-09-18 22:45:29 +02:00
Astro 42a9b89db1 let pid control pwm 2019-09-17 19:09:47 +02:00
Astro 393c276bda document commands 2019-09-17 01:46:29 +02:00
Astro 4c00548646 main: revert resampling, report per-channel 2019-09-17 01:42:50 +02:00
Astro a7ee2107ea command_parser: rm outdated TODO note 2019-09-17 01:38:12 +02:00
Astro 4587406d44 ad7172: setup adc 2019-09-17 00:13:46 +02:00
Astro 7e51585aa9 command_parser: swap btoi for lexical-core to parse floats too 2019-09-16 23:41:22 +02:00
Astro d4428b7fdc ad7172: rename reg bit bi_unipolar to bipolar 2019-09-16 23:28:28 +02:00
Astro ee4d24de6a delint 2019-09-14 21:40:49 +02:00
Astro b969f5c057 command_parser: complete to all PidParameter tokens 2019-09-14 21:35:06 +02:00
Astro 700ab47f0e improve output formatting 2019-09-14 21:23:45 +02:00
Astro b6af43feda control the pid 2019-09-14 21:11:26 +02:00
Astro 426be0d5f1 main: remove allocator 2019-09-14 19:09:38 +02:00
Astro 5c58c4370d command_parser: switch from logos to nom 2019-09-14 19:03:52 +02:00
Astro 8163d083b9 main: print panic info with semihosting 2019-09-14 16:52:35 +02:00
Astro 1395e8b410 add support for manipulating pwm duty cycle 2019-09-14 03:09:07 +02:00
Astro 5e0f55647a command_parser: rm unused tokens 2019-09-14 02:35:12 +02:00
Astro 5ef8d6a747 main: rework reporting 2019-09-14 02:33:56 +02:00
Astro ff3a793c19 ad7172: restrict macro input to remove cast 2019-09-14 02:19:18 +02:00
Astro 07dcc608bc ad7172: setup_channel() fixes 2019-09-14 02:18:47 +02:00
Astro 957f92d177 main: fight jitter 2019-09-14 02:18:33 +02:00
Astro f8dd7d1912 main: setup thermostat v1 channels, report avgs at 10hz 2019-09-14 01:36:47 +02:00
Astro c50e1c7766 remove too detailed adc control 2019-09-14 00:48:26 +02:00
Astro 76e30c0f7c some too detailed adc config 2019-09-14 00:46:48 +02:00
Astro f2dcb8b08d command_parser: unnest the grammar definition 2019-09-13 01:14:14 +02:00
Astro 3fd1b2265d command_parser: channel setup 2019-09-13 01:04:59 +02:00
Astro edb0401838 add a very small allocator 2019-09-12 16:12:03 +02:00
Astro 44f5a8338c command_parser: s/CommandShow/ShowCommand/, delint 2019-09-11 00:23:15 +02:00
Astro 0dcd35c9f2 add session 2019-09-10 23:38:09 +02:00
Astro 7f95f01711 ad7172::regs: add Offset, Gain, docs, fix FiltCon address 2019-09-10 16:21:51 +02:00
Astro 3ef317f00d ad7172: add more regs 2019-09-09 16:20:15 +02:00