Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(event.type == "interrupt" and event.iid == "turngreen" ) then
- interrupt(20, "turnred")
- digiline_send("1", "green")
- end
- if(event.type == "interrupt" and event.iid == "turnred" ) then
- interrupt(10, "turngreen")
- digiline_send("1", "red")
- end
- if(pin.a) then
- interrupt(1, "turngreen")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement