Yes you can use them as GPIO pins but you need to initialise them in the code in order to be able to use them. How familiar are you with MCU:s? As the expansion pins are not externally protected it might be wise to put a series resistor between the expansion port and the motor driver.
Then you would need a trigger mechanism and what would be simplest to do right now is to as parameters for them. e.g.
Code: Select all
...
uint8_t craneUp;
uint8_t craneDown;
...
PARAM_GROUP_START(crane)
PARAM_ADD(PARAM_UINT8, up, &craneUp)
PARAM_ADD(PARAM_UINT8, down, &craneDown)
PARAM_GROUP_STOP(crane)
The parameters will then automatically end up in the param tab in the cf-client and you can manipulate them from there. Later you can directly map the parameters to e.g. button but we take that when you get here.
Good luck! (love your crane by the way

)