fix the range for uint8: 0..255 (not 256!) same for uint16
Reading back the output value for switched devices resulted in invalid values due to an invalid conversion.
fix the range for uint8: 0..255 (not 256!) same for uint16
Reading back the output value for switched devices resulted in invalid values due to an invalid conversion.