@triffid points me to the delta sigma algorithm. This is pretty nice for slow updating routines. Others than normal PWM, this scale better for slow frequencies. This algorithm is a mix of https://www.mikrocontroller.net/topic/293454#3128867 and https://github.com/Smoothieware/Smoothieware/blob/29e80/src/libs/Pwm.cpp#L55 |
||
|---|---|---|
| .. | ||
| analog_sim.c | ||
| data_recorder.c | ||
| data_recorder.h | ||
| delay_sim.c | ||
| heater_sim.c | ||
| intercom_sim.c | ||
| pff_diskio_sim.c | ||
| pff_sim.c | ||
| sd_sim.c | ||
| serial_sim.c | ||
| simulator.c | ||
| spi_sim.c | ||
| timer_ext.c | ||