Code

file_4015.luaLua
while true do
  if redstone.getInput("back") then
    local example = http.post("https://api.pinocc.io/v1/1/1/command", "command=led.red&token={Your token Here}")
  end
  if redstone.getInput("back") then 
    local example = http.post("https://api.pinocc.io/v1/1/1/command", "command=led.blue&token={Your token Here}")
  end
end

Credits

Screen shot 2014 11 11 at 7.03.31 pm
Gavin Dinubilo
8 projects • 7 followers
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login