SHARE
TWEET

launch

a guest May 21st, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.loadAPI("ocs/apis/sensor")
  2. mon = peripheral.wrap("top")
  3. sen = sensor.wrap("back")
  4. targ = sen.getTargetDetails("CURRENT")
  5. print(textutils.serialize(targ["Raining"]))
  6. print(textutils.serialize(targ["Thundering"]))
  7. print(textutils.serialize(targ["LightLevel"]))
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