Firmware/Marlin
Stefan Brüns 35a55d5757 SOFT_PWM: Implement dithering if SOFT_PWM_SCALE is 1 or more
If dithering is enabled, the remainder of the soft_pwm_X duty value at
turnoff time is added to the next cycle. If e.g. the duty is set to 9 and
SCALE is set to 2, the PWM will be active for 8 counts for 3 cycles and
12 counts on each fourth cycle, i.e. the average is 9 cycles.

This compensates the resolution loss at higher scales and allows running
fans with SOFT_PWM with significantly reduced noise.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2017-03-24 04:13:36 -05:00
..
example_configurations Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
blinkm.cpp
blinkm.h
boards.h
buzzer.h
cardreader.cpp Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
cardreader.h
circularqueue.h
Conditionals_LCD.h Software endstop options as simple switches 2017-03-17 06:05:17 -05:00
Conditionals_post.h Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
Conditionals.h
Configuration_adv.h Add PARK_HEAD_ON_PAUSE feature 2017-03-19 05:06:55 -05:00
configuration_store.cpp Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
configuration_store.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
Configuration.h SOFT_PWM: Implement dithering if SOFT_PWM_SCALE is 1 or more 2017-03-24 04:13:36 -05:00
dac_mcp4728.cpp
dac_mcp4728.h
digipot_mcp4451.cpp
dogm_bitmaps.h
dogm_font_data_6x9_marlin.h
dogm_font_data_HD44780_C.h
dogm_font_data_HD44780_J.h
dogm_font_data_HD44780_W.h
dogm_font_data_ISO10646_1_tr.h
dogm_font_data_ISO10646_1.h
dogm_font_data_ISO10646_5_Cyrillic.h
dogm_font_data_ISO10646_CN.h
dogm_font_data_ISO10646_Greek.h
dogm_font_data_ISO10646_Kana.h
dogm_font_data_Marlin_symbols.h
duration_t.h
endstop_interrupts.h
endstops.cpp Use SET_INPUT_PULLUP where appropriate 2017-03-07 23:43:33 -06:00
endstops.h
enum.h UBL patch from Bob-the-Kuhn 2017-03-22 07:54:20 -05:00
fastio.h
G26_Mesh_Validation_Tool.cpp Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
hex_print_routines.cpp The hex nibble routine can print again! 2017-03-23 16:08:37 -05:00
hex_print_routines.h UBL core and support files 2017-03-18 11:35:19 -05:00
language_an.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_bg.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_ca.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_cn.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_cz.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_da.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_de.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_el-gr.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_el.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_en.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_es.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_eu.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_fi.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_fr.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_gl.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_hr.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_it.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_kana_utf8.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_kana.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_nl.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_pl.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_pt_utf8.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_pt-br_utf8.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_pt-br.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_pt.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_ru.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_test.h
language_tr.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_uk.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_zh_CN.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_zh_TW.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language.h Message for every KILL and STOP 2017-03-15 21:05:11 -05:00
M100_Free_Mem_Chk.cpp UBL implementation 2017-03-18 11:35:20 -05:00
macros.h Use a macro for array copies 2017-03-05 04:43:46 -06:00
Makefile Remove extraneous whitespace 2017-03-18 03:17:39 -05:00
Marlin_main.cpp Get UBL up and running again 2017-03-23 16:08:37 -05:00
Marlin.h Add disable_e_steppers function 2017-03-19 01:14:39 -05:00
Marlin.ino TMC2130 Library: @teemuatlut replaces @makertum 2017-03-07 04:22:06 -06:00
MarlinConfig.h
MarlinSerial.cpp #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
MarlinSerial.h
mesh_bed_leveling.cpp
mesh_bed_leveling.h Replace MBL Z hacking 2017-03-17 06:05:17 -05:00
nozzle.cpp Apply prior nozzle clean update 2017-03-06 03:14:59 -06:00
nozzle.h Added circle pattern for nozzle cleaning feature 2017-03-06 03:03:00 -06:00
pins_3DRAG.h
pins_5DPRINT.h
pins_A4JP.h
pins_AZTEEG_X1.h
pins_AZTEEG_X3_PRO.h
pins_AZTEEG_X3.h
pins_BAM_DICE_DUE.h
pins_BQ_ZUM_MEGA_3D.h
pins_BRAINWAVE_PRO.h
pins_BRAINWAVE.h
pins_CHEAPTRONIC.h
pins_CNCONTROLS_11.h
pins_CNCONTROLS_12.h Predefine auto fan pins in some pins files 2016-10-26 18:38:32 -05:00
pins_ELEFU_3.h
pins_FELIX2.h
pins_GEN3_MONOLITHIC.h
pins_GEN3_PLUS.h
pins_GEN6_DELUXE.h
pins_GEN6.h
pins_GEN7_12.h
pins_GEN7_13.h
pins_GEN7_14.h
pins_GEN7_CUSTOM.h
pins_K8200.h
pins_K8400.h
pins_LEAPFROG.h Follow-up the PR #4955, etc 2016-10-10 14:22:43 +09:00
pins_MEGACONTROLLER.h
pins_MEGATRONICS_2.h
pins_MEGATRONICS_3.h
pins_MEGATRONICS.h
pins_MELZI_MAKR3D.h #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
pins_MELZI.h #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
pins_MIGHTYBOARD_REVE.h
pins_MINIRAMBO.h
pins_MINITRONICS.h
pins_MKS_13.h
pins_MKS_BASE.h
pins_OMCA_A.h
pins_OMCA.h
pins_PRINTRBOARD_REVF.h
pins_PRINTRBOARD.h
pins_RAMBO.h
pins_RAMPS_13.h
pins_RAMPS_OLD.h
pins_RAMPS.h
pins_RIGIDBOARD_V2.h
pins_RIGIDBOARD.h
pins_RUMBA.h
pins_SAINSMART_2IN1.h
pins_SANGUINOLOLU_11.h Fix MAKRPANEL assignments 2017-03-03 21:22:21 -06:00
pins_SANGUINOLOLU_12.h #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
pins_SAV_MKI.h
pins_SETHI.h
pins_STB_11.h #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
pins_TEENSY2.h
pins_TEENSYLU.h
pins_ULTIMAIN_2.h
pins_ULTIMAKER_OLD.h
pins_ULTIMAKER.h
pins.h
pinsDebug_Teensyduino.h Remove extraneous whitespace 2017-03-18 03:17:39 -05:00
pinsDebug.h #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
planner_bezier.cpp
planner_bezier.h
planner.cpp #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
planner.h Fix BUG set_position_mm 2017-03-11 14:13:39 +01:00
platformio.ini
point_t.h
printcounter.cpp Fix single-char echo and pinMode usage 2017-03-18 11:35:20 -05:00
printcounter.h
qr_solve.cpp
qr_solve.h
SanityCheck.h Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
Sd2Card.cpp
Sd2Card.h
SdBaseFile.cpp
SdBaseFile.h
SdFatConfig.h
SdFatStructs.h
SdFatUtil.cpp
SdFatUtil.h
SdFile.cpp
SdFile.h
SdInfo.h
SdVolume.cpp
SdVolume.h
servo.cpp Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
servo.h
speed_lookuptable.h
stepper_dac.cpp Remove extraneous whitespace 2017-03-18 03:17:39 -05:00
stepper_dac.h
stepper_indirection.cpp TMC2130 Library: @teemuatlut replaces @makertum 2017-03-07 04:22:06 -06:00
stepper_indirection.h TMC2130 Library: @teemuatlut replaces @makertum 2017-03-07 04:22:06 -06:00
stepper.cpp Get UBL up and running again 2017-03-23 16:08:37 -05:00
stepper.h
stopwatch.cpp
stopwatch.h
temperature.cpp SOFT_PWM: Implement dithering if SOFT_PWM_SCALE is 1 or more 2017-03-24 04:13:36 -05:00
temperature.h Patches to work around "register spill" compiler bug 2017-03-18 11:35:21 -05:00
thermistornames.h Add Thermistor 75: MGB18 silicon pad 2017-03-18 11:35:20 -05:00
thermistortable_1.h
thermistortable_2.h
thermistortable_3.h
thermistortable_4.h
thermistortable_5.h
thermistortable_6.h
thermistortable_7.h
thermistortable_8.h
thermistortable_9.h
thermistortable_10.h
thermistortable_11.h
thermistortable_12.h
thermistortable_13.h
thermistortable_20.h
thermistortable_51.h
thermistortable_52.h
thermistortable_55.h
thermistortable_60.h
thermistortable_66.h
thermistortable_70.h
thermistortable_71.h
thermistortable_75.h Add Thermistor 75: MGB18 silicon pad 2017-03-18 11:35:20 -05:00
thermistortable_110.h
thermistortable_147.h
thermistortable_998.h
thermistortable_999.h
thermistortable_1010.h
thermistortable_1047.h
thermistortables.h Add Thermistor 75: MGB18 silicon pad 2017-03-18 11:35:20 -05:00
twibus.cpp
twibus.h
types.h
UBL_Bed_Leveling.cpp Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
UBL_G29.cpp Get UBL up and running again 2017-03-23 16:08:37 -05:00
UBL_line_to_destination.cpp Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
UBL.h Make UBL honor the #define ENABLE_LEVELING_FADE_HEIGHT option 2017-03-23 16:08:37 -05:00
ultralcd_impl_DOGM.h UBL implementation 2017-03-18 11:35:20 -05:00
ultralcd_impl_HD44780.h #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
ultralcd_st7920_u8glib_rrd.h
ultralcd.cpp Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
ultralcd.h Additional cleanup of UBL code 2017-03-22 20:51:10 -05:00
utf_mapper.h
utility.cpp
utility.h
vector_3.cpp
vector_3.h
Version.h Document PROTOCOL_VERSION 2017-03-05 04:43:46 -06:00
watchdog.cpp
watchdog.h