def _read(self): data = {} data['flame'] = grovepi.digitalRead(self._pin) return data
def _read(self): data = {} data['motion'] = grovepi.digitalRead(self._pin) return data
def _read(self): data = {} data['flame'] = grovepi.digitalRead(self._pin) return data
def _read(self): data = {} data['motion'] = grovepi.digitalRead(self._pin) return data