Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:iot:examples:relay [2018/12/27 12:53]
127.0.0.1 external edit
en:iot:examples:relay [2020/03/17 15:42] (current)
heikopikner
Line 12: Line 12:
  
 Needed libraries: Needed libraries:
-<​code>​lib_deps = ITTIoT</​code>​+<​code>​lib_deps = ITTIoT@1.0.5</​code>​
  
 The example code below shows if something is connected to the relay module The example code below shows if something is connected to the relay module
Line 43: Line 43:
 { {
   Serial.println("​MQTT connected callback"​);​   Serial.println("​MQTT connected callback"​);​
-  iot.subscribe("​relay"​);​+  iot.subscribe("​ESP01/relay"​);​
   iot.log("​IoT relay example!"​);​   iot.log("​IoT relay example!"​);​
 } }
en/iot/examples/relay.1545908025.txt.gz ยท Last modified: 2019/11/19 20:19 (external edit)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0