Workaround for pin IllegalOperationException regarding Netduino sensors