Rick_Kickass
RRCRat Rig Community [Unofficial]
•Created by Rick_Kickass on 4/25/2025 in #ratos-support
How to address Host (RPI) gpio pin
Hi, i'm trying to switch to ratos and want to include my custom mainsail setting. Now i'm stuck with the lightbar i have installed. In my former printer.cfg i had the following:
[mcu host]
serial: /tmp/klipper_host_mcu
[output_pin caselight]
pin: host:gpio17
[gcode_macro TOGGLE_CASELIGHT]
gcode: SET_PIN PIN=caselight VALUE={(not printer['output_pin caselight'].value)|int}
that gave me a toggle switch to turn the lightbar on. when i use those lines in a custom.cfg which i include in the printer.cfg under ratos klipper won't connect again. the problem is the first 2 lines. so what do i need to change to make it work?
another thing is how can i get rid of the temperature displays for the board and the rpi?
46 replies