Commit Graph

13 Commits

Author SHA1 Message Date
rusefillc ac44c6bbef
pump_dac: GetPumpOutputDuty() translate logocal to physical pwm channel (#188)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-02 17:00:49 -08:00
Matthew Kennedy 85365bcb68
faster f1 clocks (#172)
* faster f1 clocks

* PWM happy
2022-12-03 17:23:02 -08:00
Matthew Kennedy fa00aa0ad4 save ram 2022-12-01 15:51:01 -08:00
Andrey G cddcd0d88c
Multichannel (#134)
* Multichannel AFR

* heater: fixes for multi channel mode

* f1_dual: fix configuration names

* pump_dac: fixes for multi-channel mode

* pwm: fixes for multichannel mode

* pump_control: reference instead of pointer

* sampling: reference instead of pointer

* heater_control: reference instead of pointer

* sampling: comment about heater/battery voltage

* f0_module: fixes for multi-channel update

* f1_rev2: fix for multichannel AFR

* hello rev 3

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-29 17:19:30 -07:00
rusefillc a251f60f7a
pump_dac: return float not scalled int (#117)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-07-15 01:48:49 -07:00
Andrey G d3e460a9a6
Uart debug (#64)
* heater: export state and description

* pump_dac: save and export Ipump

* float interpolation helpers

* Show heater state, heater duty, temperature and fault over uart

* uart: more stack for thread
2022-05-11 01:41:07 -07:00
Matthew Kennedy a376b54b55 report duty as float 2022-01-26 10:56:58 -08:00
Matthew Kennedy dd8d3c5c20 pal pump dac 2021-12-27 20:44:15 -08:00
Matthew Kennedy fb66c03ac7 api to get pump duty 2020-12-15 14:58:39 -08:00
Matthew Kennedy 453a4c4337 add IsRunningClosedLoop 2020-10-31 14:54:50 -07:00
Matthew Kennedy 1e22402d88 consolidate magic numbers 2020-10-30 02:03:12 -07:00
Matthew Kennedy c19c6445bd fix gain 2020-10-29 02:53:45 -07:00
Matthew Kennedy b611a96f05 extract pump dac 2020-10-27 16:33:32 -07:00