Flexible channel configuration and output to Arduino