Author Topic: mcPlug Button  (Read 49 times)

Veleek

  • Newbie
  • *
  • Posts: 9
    • View Profile
mcPlug Button
« on: June 12, 2017, 10:54:00 pm »
What does the button on the mcPlug do.  Even on the product page, it just says "Button" like that in itself is an amazing feature...

It would be GREAT if there was a single place for me to get some detail about the mcPlug including things like the fact that Relay is a secret variable that I can set to control it.

Social Buttons


mc-T2

  • Administrator
  • Full Member
  • *****
  • Posts: 234
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: mcPlug Button
« Reply #1 on: June 13, 2017, 03:53:31 pm »
Hi Veleek,

The button is there for you to program it to whatever you wish to use it for. You could program it to provide power, turn off power, etc

For some example code, check out the plug posts within the forum and you can also check out an example project on our Hackster.io hub

https://www.hackster.io/mc-Things/project-using-the-mcplug-for-iot-applications-8c2183
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB