daily pastebin goal
41%
SHARE
TWEET

startup

a guest Jan 29th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. max=99000
  2. min=1000
  3. p=peripheral.wrap("left")
  4. while true do
  5.  energyLevel=p.getEnergyStored()
  6.   if energyLevel>max then
  7.    rs.setOutput("front",true)
  8.   elseif energyLevel<min then
  9.    rs.setOutput("front",false)
  10.   end
  11.   sleep(1)
  12. end
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top