daily pastebin goal
56%
SHARE
TWEET

Send energy info

Adrali Jun 13th, 2018 (edited) 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. scell=
  2. smod1=
  3. cenow=
  4. cemax=
  5.  
  6. cell = peripheral.wrap(scell)
  7. mener = peripheral.wrap(smod1)
  8.  
  9.  
  10. mener.open(cenow)
  11. mener.open(cemax)
  12.  
  13. while true do
  14.         mener.transmit(cenow,1,cell.getEnergyCell())
  15.         sleep(1)
  16.         mener.transmit(cemax,1,cell.getMaxEnergyCell())
  17.         sleep(1)    
  18. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top