You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
adb5375a09
Enabling servo usage on boards with PWM current control timer5 is used by some boards like the Mini Rambo for controlling motor current via PWM, see stepper.cpp. ```cpp #ifdef MOTOR_CURRENT_PWM_XY_PIN pinMode(MOTOR_CURRENT_PWM_XY_PIN, OUTPUT); pinMode(MOTOR_CURRENT_PWM_Z_PIN, OUTPUT); pinMode(MOTOR_CURRENT_PWM_E_PIN, OUTPUT); digipot_current(0, motor_current_setting[0]); digipot_current(1, motor_current_setting[1]); digipot_current(2, motor_current_setting[2]); //Set timer5 to 31khz so the PWM of the motor power is as constant as possible. (removes a buzzing noise) TCCR5B = (TCCR5B & ~(_BV(CS50) | _BV(CS51) | _BV(CS52))) | _BV(CS50); #endif } ``` Using the same timer for controlling servos results in loss of motor control. So use timer4/3 for those boards instead. [See discussion here.](http://shop.prusa3d.com/forum/software-f13/enabling-auto-leveling-in-firmware-t416-s40.html) |
9 years ago | |
---|---|---|
.. | ||
example_configurations | 9 years ago | |
fonts | 9 years ago | |
scripts | 9 years ago | |
Conditionals.h | 9 years ago | |
Configuration.h | 9 years ago | |
Configuration_adv.h | 9 years ago | |
Default_Version.h | 9 years ago | |
M100_Free_Mem_Chk.cpp | 9 years ago | |
Makefile | 9 years ago | |
Marlin.h | 9 years ago | |
Marlin.ino | 9 years ago | |
MarlinSerial.cpp | 9 years ago | |
MarlinSerial.h | 9 years ago | |
Marlin_main.cpp | 9 years ago | |
SanityCheck.h | 9 years ago | |
Sd2Card.cpp | 9 years ago | |
Sd2Card.h | 9 years ago | |
Sd2PinMap.h | 9 years ago | |
SdBaseFile.cpp | 9 years ago | |
SdBaseFile.h | 9 years ago | |
SdFatConfig.h | 9 years ago | |
SdFatStructs.h | 9 years ago | |
SdFatUtil.cpp | 9 years ago | |
SdFatUtil.h | 9 years ago | |
SdFile.cpp | 9 years ago | |
SdFile.h | 9 years ago | |
SdInfo.h | 9 years ago | |
SdVolume.cpp | 9 years ago | |
SdVolume.h | 9 years ago | |
blinkm.cpp | 9 years ago | |
blinkm.h | 10 years ago | |
boards.h | 9 years ago | |
buzzer.cpp | 10 years ago | |
buzzer.h | 9 years ago | |
cardreader.cpp | 9 years ago | |
cardreader.h | 9 years ago | |
configuration_store.cpp | 9 years ago | |
configuration_store.h | 10 years ago | |
digipot_mcp4451.cpp | 9 years ago | |
dogm_bitmaps.h | 9 years ago | |
dogm_font_data_6x9_marlin.h | 9 years ago | |
dogm_font_data_HD44780_C.h | 9 years ago | |
dogm_font_data_HD44780_J.h | 9 years ago | |
dogm_font_data_HD44780_W.h | 9 years ago | |
dogm_font_data_ISO10646_1.h | 9 years ago | |
dogm_font_data_ISO10646_5_Cyrillic.h | 9 years ago | |
dogm_font_data_ISO10646_CN.h | 9 years ago | |
dogm_font_data_ISO10646_Kana.h | 9 years ago | |
dogm_font_data_Marlin_symbols.h | 9 years ago | |
dogm_lcd_implementation.h | 9 years ago | |
fastio.h | 9 years ago | |
language.h | 9 years ago | |
language_an.h | 9 years ago | |
language_bg.h | 9 years ago | |
language_ca.h | 9 years ago | |
language_cn.h | 9 years ago | |
language_cz.h | 9 years ago | |
language_da.h | 9 years ago | |
language_de.h | 9 years ago | |
language_en.h | 9 years ago | |
language_es.h | 9 years ago | |
language_eu.h | 9 years ago | |
language_fi.h | 9 years ago | |
language_fr.h | 9 years ago | |
language_gl.h | 9 years ago | |
language_it.h | 9 years ago | |
language_kana.h | 9 years ago | |
language_kana_utf8.h | 9 years ago | |
language_nl.h | 9 years ago | |
language_pl.h | 9 years ago | |
language_pt-br.h | 9 years ago | |
language_pt-br_utf.h | 9 years ago | |
language_pt.h | 9 years ago | |
language_ru.h | 9 years ago | |
language_test.h | 9 years ago | |
macros.h | 9 years ago | |
mesh_bed_leveling.cpp | 9 years ago | |
mesh_bed_leveling.h | 9 years ago | |
pins.h | 9 years ago | |
pins_3DRAG.h | 9 years ago | |
pins_5DPRINT.h | 9 years ago | |
pins_99.h | 10 years ago | |
pins_A4JP.h | 9 years ago | |
pins_AZTEEG_X1.h | 10 years ago | |
pins_AZTEEG_X3.h | 9 years ago | |
pins_AZTEEG_X3_PRO.h | 9 years ago | |
pins_BAM_DICE_DUE.h | 9 years ago | |
pins_BQ_ZUM_MEGA_3D.h | 9 years ago | |
pins_BRAINWAVE.h | 9 years ago | |
pins_BRAINWAVE_PRO.h | 9 years ago | |
pins_CHEAPTRONIC.h | 10 years ago | |
pins_ELEFU_3.h | 10 years ago | |
pins_FELIX2.h | 9 years ago | |
pins_GEN3_MONOLITHIC.h | 10 years ago | |
pins_GEN3_PLUS.h | 9 years ago | |
pins_GEN6.h | 10 years ago | |
pins_GEN6_DELUXE.h | 10 years ago | |
pins_GEN7_12.h | 10 years ago | |
pins_GEN7_13.h | 10 years ago | |
pins_GEN7_14.h | 10 years ago | |
pins_GEN7_CUSTOM.h | 9 years ago | |
pins_K8200.h | 10 years ago | |
pins_LEAPFROG.h | 10 years ago | |
pins_MEGACONTROLLER.h | 9 years ago | |
pins_MEGATRONICS.h | 10 years ago | |
pins_MEGATRONICS_2.h | 10 years ago | |
pins_MEGATRONICS_3.h | 9 years ago | |
pins_MELZI.h | 10 years ago | |
pins_MELZI_MAKR3D.h | 10 years ago | |
pins_MINIRAMBO.h | 9 years ago | |
pins_MINITRONICS.h | 10 years ago | |
pins_MKS_BASE.h | 9 years ago | |
pins_OMCA.h | 10 years ago | |
pins_OMCA_A.h | 10 years ago | |
pins_PRINTRBOARD.h | 9 years ago | |
pins_RAMBO.h | 9 years ago | |
pins_RAMPS_13.h | 9 years ago | |
pins_RAMPS_13_EFB.h | 9 years ago | |
pins_RAMPS_14.h | 9 years ago | |
pins_RAMPS_14_EFB.h | 9 years ago | |
pins_RAMPS_OLD.h | 9 years ago | |
pins_RIGIDBOARD.h | 9 years ago | |
pins_RUMBA.h | 10 years ago | |
pins_SANGUINOLOLU_11.h | 9 years ago | |
pins_SANGUINOLOLU_12.h | 10 years ago | |
pins_SAV_MKI.h | 9 years ago | |
pins_SETHI.h | 10 years ago | |
pins_STB_11.h | 10 years ago | |
pins_TEENSY2.h | 9 years ago | |
pins_TEENSYLU.h | 9 years ago | |
pins_ULTIMAIN_2.h | 10 years ago | |
pins_ULTIMAKER.h | 10 years ago | |
pins_ULTIMAKER_OLD.h | 10 years ago | |
planner.cpp | 9 years ago | |
planner.h | 9 years ago | |
qr_solve.cpp | 9 years ago | |
qr_solve.h | 9 years ago | |
servo.cpp | 9 years ago | |
servo.h | 9 years ago | |
speed_lookuptable.h | 9 years ago | |
stepper.cpp | 9 years ago | |
stepper.h | 9 years ago | |
stepper_indirection.cpp | 9 years ago | |
stepper_indirection.h | 9 years ago | |
temperature.cpp | 9 years ago | |
temperature.h | 9 years ago | |
thermistortables.h | 9 years ago | |
ultralcd.cpp | 9 years ago | |
ultralcd.h | 9 years ago | |
ultralcd_implementation_hitachi_HD44780.h | 9 years ago | |
ultralcd_st7920_u8glib_rrd.h | 9 years ago | |
utf_mapper.h | 9 years ago | |
vector_3.cpp | 9 years ago | |
vector_3.h | 9 years ago | |
watchdog.cpp | 9 years ago | |
watchdog.h | 9 years ago |