RGB and aliases

This commit is contained in:
Kyle Brown 2023-07-03 17:08:29 -07:00
parent 67494f5d37
commit 0aecf5bab2

View file

@ -1,31 +1,57 @@
# To flash
# [*] Enable extra low level configuration options
# Micro-controller Architecture (Raspberry Pi RP2040] --->
# Flash chip (Generic_03H with CLKDIV 4) --->
# Communiccation interface (USB) --->
# USB ids --->
# () GPIO pins to set at micro-controller startup
# Klipper config for TinyTemp
[mcu TinyTemp]
[mcu tinytemp]
serial: /dev/serial/by-id/usb-Klipper_SERIAL_ID_GOES_HERE
restart_method: command
[board_pins tinytemp]
mcu: tinytemp
aliases:
T1=gpio29,
T2=gpio28,
T3=gpio27,
T4=gpio26,
LED=gpio16
[temperature_sensor thermistor1]
sensor_type: Generic 3950
sensor_pin: TinyTemp:gpio29
sensor_pin: tinytemp:T1
min_temp: 0
max_temp: 100
[temperature_sensor thermistor2]
sensor_type: Generic 3950
sensor_pin: TinyTemp:gpio28
sensor_pin: tinytemp:T2
min_temp: 0
max_temp: 100
[temperature_sensor thermistor3]
sensor_type: Generic 3950
sensor_pin: TinyTemp:gpio27
sensor_pin: tinytemp:T3
min_temp: 0
max_temp: 100
[temperature_sensor thermistor4]
sensor_type: Generic 3950
sensor_pin: TinyTemp:gpio26
sensor_pin: tinytemp:T4
min_temp: 0
max_temp: 100
[neopixel tinytemp]
pin: tinytemp:LED
color_order: RGB
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 1.0
# Plenty of pins are free for random things.
# They are listed on the bottom of the board.