Advertisement
Guest User

Untitled

a guest
Aug 27th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. if(event.type == "interrupt" and event.iid == "turngreen" ) then
  2.     interrupt(20, "turnred")
  3.     digiline_send("1", "green")
  4. end
  5.  
  6. if(event.type == "interrupt" and event.iid == "turnred" ) then
  7.     interrupt(10, "turngreen")
  8.     digiline_send("1", "red")
  9. end
  10.  
  11. if(pin.a) then
  12.     interrupt(1, "turngreen")
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement