Fixed GPIO input data type from boolean to numeric