Advertisement
Guest User

rennan1212

a guest
Feb 16th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. // Simple blink example of Livolo.h library for Livolo wireless light switches
  2.  
  3. #include <livolo.h>
  4.  
  5. Livolo livolo(7); // transmitter connected to pin #8
  6.  
  7.  
  8. void setup() {
  9. }
  10.  
  11. void loop() {
  12.  
  13. // livolo.sendButton(8500, 120); // blink button #3 every 3 seconds using remote with remoteID #6400
  14. //delay(3000);
  15. livolo.sendButton(7395, 8); // blink button #3 every 3 seconds using remote with remoteID #6400
  16. delay(3000);
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement