Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- event=require('event')
- component=require('component')
- m=component.modem
- d=component.debug
- m.open(34051)
- while true do
- _,_,_,_,_,c,_,_ = event.pull('modem_message')
- print('Command: '..c)
- d.runCommand(c)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement