test: Add pwm tests

Signed-off-by: Guy Shapira <gayuha@gmail.com>
This commit is contained in:
Guy Shapira
2020-09-14 10:36:41 +03:00
committed by Kevin O'Connor
parent 04f9f1b44e
commit a79c57ab29
2 changed files with 53 additions and 0 deletions

23
test/klippy/pwm.cfg Normal file
View File

@@ -0,0 +1,23 @@
[output_pin soft_pwm_pin]
pin: ar8
pwm: True
value: 0
shutdown_value: 0
cycle_time: 0.01
[output_pin hard_pwm_pin]
pin: ar9
pwm: True
hardware_pwm: True
value: 0
shutdown_value: 0
cycle_time: 0.01
[mcu]
serial: /dev/ttyACM0
pin_map: arduino
[printer]
kinematics: none
max_velocity: 300
max_accel: 3000