I just read the manual of the SCC32 board and I found that there are 4 Input Channels (A B C D) for analog and digital Inputs.
But I need some more, because I want to integrate some “ground contact sensors” for the hexapod legs. So at least I need 6 Inputs.
Somewhere in this forum I read a post, that it is possible to use free Servo output Channels for a simple on/off input!?!?!
Probably using a multiplexer. Use 3 servo outputs to choose which of 8 lines is going to be routed to a single input on the SSC-32. This should work very well…
According to the manual(not tried personnally) there is a discrete command and a byte command…
The discrete command # (e.g. #0H or #0L) should drive, in this case channel 0 Hi or Lo.
The Bank command #: (e.g #0:255) should drive the bank of 8 channels to Hi.
The only input is by the 4 pins provided. They can either be used for digital or analog input but as Jim mentions, you could drive a multiplexed analogue switch off a single bank and switch either digital or analogue inputs or outputs through the available 4 pins.