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!

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,586
  • 5

Full instructions

Using DHT22 Temperature and Humidity sensor with Pinoccio

Mesh Your Brain
  • 3,345
  • 21

Full instructions

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

Human Presence Detection & Visualization
  • 1,048
  • 8

Full instructions

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

Data Painting
  • 1,548
  • 11

Full instructions

Create ephemeral, data-rich light paintings in the air, using a motion sensor.

Data Painting

Jake Ingman

Hideous Arc Reactor Sweater (WIP)
  • 774
  • 6

Work in progress

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

Solar Powered Pinoccio Scout
  • 1,044
  • 9

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

ProjectsCommunitiesContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Respect project
Feedback