Advertisement
gpochy

react

Apr 17th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. react1 = peripheral.wrap("top")
  2. react2 = peripheral.wrap("bottom")
  3.  
  4. local modem = peripheral.wrap("right")
  5.  
  6. while true do
  7. rftik1 = react1.getEnergyProducedLastTick()
  8. rftik2 = react2.getEnergyProducedLastTick()
  9. modem.transmit(3,1,{rftik1,rftik2})
  10. --modem.transmit(3,1,energymax)
  11. sleep(1)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement