Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot:examples:button [2021/03/05 00:58] heiko.pikneren:iot:examples:button [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 29: Line 29:
  
 Switch button = Switch(buttonPin); Switch button = Switch(buttonPin);
 +
 +void iot_received(String topic, String msg) {}
  
 // Function started after the connection to the server is established. // Function started after the connection to the server is established.
Line 79: Line 81:
     iot.log("ButtonPushed");     iot.log("ButtonPushed");
   }   }
 +  
 +  delay(3);
 } }
  
 </code> </code>
en/iot/examples/button.1614905916.txt.gz · Last modified: 2021/03/05 10:00 (external edit)
CC Attribution-Share Alike 4.0 International
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