code: def getAllData(self, temp = True, accel = True, gyro = True):
          
          allData = {}
          if temp:
              allData["temp"] = self.getTemp()
  
          if accel:
              allData["accel"] = self.getAccelData( raw = False )
  
          if gyro:
              allData["gyro"] = self.getGyroData()
  
          return allData
docs: !
          Get all the available data.
  
          @param temp: True - Allow to return Temperature data
          @param accel: True - Allow to return Accelerometer data
          @param gyro: True - Allow to return Gyroscope data
  
          @return a dictionary data
              @retval {} Did not read any data
              @retval {"temp":32.3,"accel":{"x":0.45634,"y":0.2124,"z":1.334},"gyro":{"x":0.45634,"y":0.2124,"z":1.334}} Returned all data