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

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

Similar projects you might like

    DHT22 Sensor and Pinoccio
    • 1,622
    • 5

    Full instructions

    Using DHT22 Temperature and Humidity sensor with Pinoccio

    Mesh Your Brain
    • 3,549
    • 22

    Full instructions

    Build your own Internet of Brains with this wireless EEG hack!

    Human Presence Detection & Visualization
    • 1,070
    • 9

    Full instructions

    Team Cogitate's social radar displays people nearby as a set of glowing orbs

    Hideous Arc Reactor Sweater (WIP)
    • 844
    • 7

    Work in progress

    Power through the holiday slump with this festive, EEG-reactive sweater!

    Solar Powered Pinoccio Scout
    • 1,102
    • 9

    Run your wireless mesh forever with Adafruit's solar LiPo charger

    Pinoccio Programming in Minecraft
    • 1,928
    • 6

    Add custom ScoutScript blocks in your virtual domain—then see the real-world effects!

    Add projectSign up / Login