From c7d6d81a4d9da23a76340ea712a750a74d1295df Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 14 Apr 2020 22:19:08 -0400 Subject: [PATCH] test: Fix printer-tronxy-p802e-2020.cfg and add to printers.test Signed-off-by: Kevin O'Connor --- config/printer-tronxy-p802e-2020.cfg | 24 +++++++++++++----------- test/klippy/printers.test | 1 + 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/config/printer-tronxy-p802e-2020.cfg b/config/printer-tronxy-p802e-2020.cfg index e80d262a..468bcc67 100644 --- a/config/printer-tronxy-p802e-2020.cfg +++ b/config/printer-tronxy-p802e-2020.cfg @@ -1,6 +1,7 @@ -#This file shares pinmappings with the anet a8 -#Everything is the same exept for the pid and the position maxes and minumums -#The Tronxy P802M or P802MA will need to have different Positions maxes and minumums +# This file contains common pin mappings for Tronxy P802E printer. To +# use this config, the firmware should be compiled for the AVR +# atmega1284p. The Tronxy P802M and P802MA is similar, but will need +# different position_max and position_min settings. # Note that the "make flash" command does not work with Tronxy boards - # the boards are typically flashed with this command: @@ -50,21 +51,22 @@ filament_diameter: 1.750 heater_pin: PD5 sensor_type: ATC Semitec 104GT-2 sensor_pin: PA7 -#control: pid -#pid_kp = 23.060 -#pid_ki = 1.025 -#pid_kd = 129.711 +control: pid +pid_kp: 23.060 +pid_ki: 1.025 +pid_kd: 129.711 min_temp: 0 max_temp: 250 max_extrude_only_distance: 400 + [heater_bed] heater_pin: PD4 sensor_type: ATC Semitec 104GT-2 sensor_pin: PA6 -#control: pid -#pid_kp = 72.174 -#pid_ki = 1.677 -#pid_kd = 776.767 +control: pid +pid_kp: 72.174 +pid_ki: 1.677 +pid_kd: 776.767 min_temp: 0 max_temp: 110 diff --git a/test/klippy/printers.test b/test/klippy/printers.test index f17aabf9..fc76d468 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -59,6 +59,7 @@ CONFIG ../../config/printer-creality-cr10mini-2017.cfg CONFIG ../../config/printer-creality-ender2-2017.cfg CONFIG ../../config/printer-creality-ender3-2018.cfg CONFIG ../../config/printer-creality-ender5-2019.cfg +CONFIG ../../config/printer-tronxy-p802e-2020.cfg CONFIG ../../config/printer-tronxy-x5s-2018.cfg CONFIG ../../config/printer-tronxy-x8-2018.cfg CONFIG ../../config/printer-wanhao-duplicator-i3-v2.1-2017.cfg