Fixed initialization of digital output