Add the following snippet to your HTML:<iframe frameborder='0' height='385' scrolling='no' src='https://www.hackster.io/jodyamoon/project-1-fairy-lamp-440219/embed' width='350'></iframe>
A simple lamp that has a twinkling rainbow
Read up about this project on
pins.A1.setPull(PinPullMode.PullUp) forever(function () { if (!(pins.A1.digitalRead())) { light.showAnimation(light.rainbowAnimation, 500) } else { light.clear() } })
Please log in or sign up to comment.
Comments
Please log in or sign up to comment.