Fixed shiftOut

Fixed datatype collision in for-loop (was limited to 16bit)