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?
[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?
Solution
Ohh looks like that is attached to the PI right?
you probably just need to add to the
you probably just need to add to the
USER OVERRIDES section of your printer.cfg (in ratos)![Rat Rig Community [Unofficial] banner](https://cdn.discordapp.com/banners/582187371529764864/4ee3e42e227d6aac26f048a3e69d5924.webp?size=480)