[output_pin BEEPER_pin] pin: EXP1_1#无源蜂鸣器(piezo beeper)需要 PWM 信号控制,有源(DC buzzer)不需要pwm: True value: 0#Silent at power on,setto 1ifactive low.shutdown_value: 0#Disable at emergency shutdown (no PWM would be available anyway).cycle_time: 0.001#Default PWM frequency : ...
启停风扇只有开关两种状态,我们既可以和灯带一样定义一个output_pin,只输出 0 或者 1 进行控制;也可以定义一个fan_generic,可以调节(0-1)范围输出值,然后手动指定输出 0 或者 1。由于风扇有一些特殊参数,单纯的 output_pin 无法满足进阶要求,故此本文使用后者。 同时由于 MCU、MPU 引脚不能输出大电流带负载,所...
# spi_software_miso_pin:PB5 # spi_software_mosi_pin:PB5 # spi_software_sclk_pin:PB3 # [output_pin beeper] # pin: PC5 # [neopixel mini12864] # pin: PE12 # chain_count: 3 # color_order: RGB # initial_RED: 1.0 # initial_GREEN: 1.0 # initial_BLUE: 0.0 [gcode_macro M109] r...
# This file contains common pin mappings for Ultimaker UltiMainboard v2 # boards. To use this config, thefirmwareshould be compiled for the # AVR atmega2560. # See docs/Config_Reference.md for a description of parameters. [include fluidd.cfg] [virtual_sdcard] # path: /home/henrik/printer_...
{% set P = params.P|default(km.beep_duration) %} {% set S = params.S|default(km.beep_frequency) %} SET_PIN PIN=beeper VALUE={S} G4 P{P} SET_PIN PIN=beeper VALUE=0 {% else %} {action_respond_info( "M300 is disabled. To enable create an [output_pin beeper] config.")}...
[output_pin] The following command is available when an output_pin config section or pwm_tool config section is enabled. SET_PIN SET_PIN PIN=config_name VALUE=<value>: Set the pin to the given output VALUE. VALUE should be 0 or 1 for "digital" output pins. For PWM pins, set to...
[output_pin GPIO1] # General purpose pin broken out on the duex pin: sx1509_duex:PIN_11 pwm: False value: 1 [virtual_sdcard] path: ~/gcode_files [display_status] ### ### ACCELEROMETER ### ###
some micro-controller boards may work with software spi:spi_software_miso_pin: EXP2_1spi_software_mosi_pin: EXP2_6spi_software_sclk_pin: EXP2_2[output_pin beeper]pin: EXP1_1[neopixel mks_mini12864]pin: EXP1_6chain_count: 3color_order: RGBinitial_RED: 1.0initial_GREEN: 1.0initial_BLU...
# This file contains common pin mappings for the Fysetc Spider board. # To use this config, the firmware should be compiled for the STM32F446. # When calling "menuconfig", enable "extra low-level configuration setup" # and select the "12MHz crystal" as clock reference ...
The output of the calibration with all determined positions looks like this (the offset is the one which is applied as GCode offset): Z-CALIBRATION: ENDSTOP=-0.300 NOZZLE=-0.300 SWITCH=6.208 PROBE=7.013 --> OFFSET=-0.170 The endstop value is the homed Z position which is always zero or...