code: async def play_tone(self, command):
          
          pin = int(command[0])
          if command[1] == "TONE_TONE":
              tone_command = Constants.TONE_TONE
          else:
              tone_command = Constants.TONE_NO_TONE
          frequency = int(command[2])
          duration = int(command[3])
          await self.core.play_tone(pin, tone_command, frequency, duration)
docs: This method controls a piezo device to play a tone. It is a FirmataPlus feature.
          Tone command is TONE_TONE to play, TONE_NO_TONE to stop playing.
          :param command: {"method": "play_tone", "params": [PIN, TONE_COMMAND, FREQUENCY(Hz), DURATION(MS)]}
          :returns:No return message.