Reason is that __tempDisabled variable in PSCU class is initialised to [0]*numSensors, but only chans 4-10 have a disable jumper that is mapped onto the MCP IO pin. These are read as True/False on polling sensors.
Similarly, only 2nd humidity sensor has disable header on IO pin.
Fix is to update both so that initialisation of the variables is boolean
Channels 0 - 3 have int value, 4-10 have bool.
Reason is that __tempDisabled variable in PSCU class is initialised to [0]*numSensors, but only chans 4-10 have a disable jumper that is mapped onto the MCP IO pin. These are read as True/False on polling sensors.
Similarly, only 2nd humidity sensor has disable header on IO pin.
Fix is to update both so that initialisation of the variables is boolean