Advertisement
Guest User

Untitled

a guest
Apr 6th, 2014
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. o103repeat[500]
  2. M101 (this will simply do a gedit "hello.txt & exit")
  3. 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)
  4. M101 (Same thing but, during that ten seconds timer lets change the file to 'eog picture.png' & exit)
  5.  
  6. o103endrepeat
  7.  
  8. now we can keep changing that file on the fly and it will continue to change.. soo we could for example
  9. if sensor x is in 0 state then
  10. call m101 ->mdi do something
  11. if sensor x is in 1 state then write m101 -> do something else
  12.  
  13. 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