Commit Graph

3 Commits

Author SHA1 Message Date
Nico Tonnhofer 06c6aed23d STM32F411: Turn on only timers needed in heater-stm32.c
Test: PWM pins work as before.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer 12691b4488 STM32F411: Implement heater_set() in heater-stm32.c.
Works very nicely from full off (M106 S0) to full on (M106 S255).

Test: M106 should work now as expected. M106 S0 should turn full
off, M106 S255 should turn full on, both without any spike on the
scope.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer df78b8d826 STM32F411: implement heater-stm32.c partially.
Like Traumflugs implementation at a fixed frequency of 1kHz and a fixed duty
cycle of 10%.
2017-03-03 18:54:57 +01:00