Toolboard: 4028 Fan wired correctly but behaving inverted.

Basically the title. Ive tried all manners of trying to the the pin to invert in klipper and nothing seams to be working. Here is the config section: [fan] pin: !toolboard:fan_part_cooling_pin tachometer_pin: ^toolboard:PB8 tachometer_poll_interval: 0.0005 enable_pin: PA2 shutdown_speed: 0.0 cycle_time: 0.00004 One weird thing is that even if I put a random port on the pin line. The fan still is controllable with the slider but just inverted. Even if I delete the whole line, nothing changes. The behavior is as follows. 0% = Fan off 1% = 100 fan 50% = 50% 85% = 0%
13 Replies
Helge Keck
Helge Keckā€¢15mo ago
please share your complete printer.cfg
continuing-cyan
continuing-cyanā€¢15mo ago
Helge Keck
Helge Keckā€¢15mo ago
it cant work first you added your fan config and later you include the default toolbaord config you need to add your custom pin config AFTER the default include it gets overwritten put it in the override section
continuing-cyan
continuing-cyanā€¢15mo ago
That was it! there should be somewhere write this. I logically thought that the printer config should be in the printer config section but this is a toolboard config
continuing-cyan
continuing-cyanā€¢15mo ago
omg ive been doing this all wrong:))) i never used the overreides section ever always used the printer config section damn thx :))
Helge Keck
Helge Keckā€¢15mo ago
kekw
continuing-cyan
continuing-cyanā€¢15mo ago
im a move everything in there now
stormy-gold
stormy-goldā€¢15mo ago
I have the same problem as described above did I do something wrong in my .cfg filel?
Helge Keck
Helge Keckā€¢15mo ago
put your fan config in the user override section
stormy-gold
stormy-goldā€¢15mo ago
ty You are a hero šŸ™‚ working like a charm
stormy-gold
stormy-goldā€¢15mo ago
I did but I didn't think it was needed to override. I probably pasted it to the wrong section