added demux and data pin in construct

goDigital method to set input mode on digital port when mixing