Commit Graph

201 Commits (2773ba47fe65421f27112ce1d3ad042fc10fa643)

Author SHA1 Message Date
Astro 2773ba47fe tec: init freq pins for 1 MHz switching 2019-11-14 01:59:57 +01:00
Astro 13771bf770 tec: fix wrong SHDN pins 2019-11-13 20:13:57 +01:00
Astro 02d2403547 tec: setup iset_width 2019-11-13 20:12:25 +01:00
Astro ecdebe76bc tec: keep shdn off until first use 2019-11-13 20:01:17 +01:00
Astro 7efd42715e tec: enable GPIO pins for TEC SHDN 2019-11-10 22:27:20 +01:00
Astro 225be7b911 upgrade to current rust + smoltcp 2019-10-30 19:53:35 +01:00
Astro c2aa0e2989 main: report pwm_width 2019-10-03 01:35:52 +02:00
Astro cc5c21e088 main: use temperature as PID input 2019-10-03 01:35:37 +02:00
Astro 420be00407 main: fix DEFAULT_PID_PARAMETERS 2019-10-03 01:34:53 +02:00
Astro 2010b4fe10 main: reset PID after parameter change 2019-10-03 01:33:49 +02:00
Astro c8d31c7b0d tec: add pwm default setup 2019-10-03 01:33:21 +02:00
Astro 4ac0f7b171 pid: add test 2019-10-03 00:44:36 +02:00
Astro 21615819f6 main: improve tcp output 2019-10-02 22:33:23 +02:00
Astro 59d3fde32e main: fix DEFAULT_SH_PARAMETERS 2019-10-02 22:21:50 +02:00
Astro 53ff7e70ca main: use steinhart-hart equation for temperature conversion 2019-10-02 21:28:14 +02:00
Astro 83117db8c5 ad7172: perform data sign checks 2019-10-02 21:27:35 +02:00
Astro 12c2be0a03 command_parser: shorten to parallel_r, add tests 2019-10-02 21:25:06 +02:00
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