Jump to content

"Pin 'gpio26' is not a valid pin name on mcu 'mcu' error message


Casatec

Recommended Posts

Hi, I am struggling with fixing the above mentioned error message.

Set-up: Voron 2.4, BTT Manta M8P + CB1 + EBB36 Can bus. I want to control a CPAP (external fan) via GPIO26 but i get an error.

In the printer.cfg I added:

[fan_generic CPAP]
pin: mcu:gpio26            #CPAP
max_power: 1
cycle_time: 0.002          # = 500 Hz
hardware_pwm: false   # as we use software pwm
shutdown_speed: 0       # dont run fan when klipper is not running. 

 

I read that it might have to do with the [mcu] definition, however, i only see solutions for non CAN bus versions where a serial number can be added to the [mcu]. I also see some mentioning the GPIO definition when setting up klipper in the menuconfig but that didnt work either. I might be on the wrong path though. Any suggestion where to look? Attached my log and printer.cfg.

I also tried the following but no success:

pin: mcu:gpio26            #CPAP

pin: host:gpio26            #CPAP

pin: gpio26                 #CPAP

 

Thanks a lot! CS

printer.cfg.txt issue log.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...