I am building rather modifying existing pnp.
It works flawlessly.
The controller board I am using is SKR1.4 Turbo which was build for 3D printer. Most of the ports are for controlling Extruder and heating of the bed. But we required few more for controlling few other things.
SKR board has some pins which can be used for this purpose and we are doing so using Smoothie's switch extension, works flawlessly.
The pins which we are using are as follows:
0.28
1.18
1.19
1.20
1.21
1.22
1.23
1.30
The issue I am facing is 2 pins are giving PWM signals (1.19 & 1.20) any config changes we do in config.txt the output does not changes.
Also most of these pins are HIGH by default, we have to execute the switch turn off g_code. Which is ok but its kind of annoying, think about it when we start the machine the pumps goes brrr for a while, led blinks and then everything turns off.
So I want to know, how can we change the behaviour of these GPIO's i mean when SKR boots we dont have to execute g_code to turn them off.