Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- o103repeat[500]
- M101 (this will simply do a gedit "hello.txt & exit")
- m66p1l4q10 (this is a command which means wait until input DIN-01 come to a triggered state, after 10 seconds if not triggered it will move on the next line)
- M101 (Same thing but, during that ten seconds timer lets change the file to 'eog picture.png' & exit)
- o103endrepeat
- now we can keep changing that file on the fly and it will continue to change.. soo we could for example
- if sensor x is in 0 state then
- call m101 ->mdi do something
- if sensor x is in 1 state then write m101 -> do something else
- and those could be modified on the fly from an external source like, windspeed, or tempurature I dunno anything :P
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement