parameters: (self, adc)
return_statement: return r
docstring: Convert ADC reading into a resistance in Ohms
docstring_summary: Convert ADC reading into a resistance in Ohms
docstring_tokens: Convert ADC reading into a resistance in Ohms
function: def resist(self, adc):
          "Convert ADC reading into a resistance in Ohms"
          r = self.rp * self.voltage(adc) / (VCC - self.voltage(adc)) # resistance of thermistor
          return r
function_tokens: def resist ( self , adc ) : r = self . rp * self . voltage ( adc ) / ( VCC - self . voltage ( adc ) ) # resistance of thermistor return r