[text] matlab

Viewer

  1. import thingspeak
  2. import random
  3. channel_id=2537688
  4. write_key='R9Y0CLHM3T55CKIO'
  5. channel=thingspeak.Channel(id=channel_id,api_key=write_key)
  6. while True:
  7.     response=channel.update({'field1':random.randint(22,55),'field2':random.randint(10,99)})
  8.     

Editor

You can edit this paste and save as new:


File Description
  • matlab
  • Paste Code
  • 06 May-2024
  • 256 Bytes
You can Share it: