Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Ali Taher
Published

Switches And Knobs-Ali Taher Owl

A night light that turns on with a switch.

BeginnerWork in progress512
Switches And Knobs-Ali Taher Owl

Things used in this project

Hardware components

Circuit Playground Express
Adafruit Circuit Playground Express
×1

Software apps and online services

MakeCode
Microsoft MakeCode

Story

Read more

Custom parts and enclosures

Encloser

Wooden frame, and artwork

Schematics

Diagrams!?

Code

Knob code

JavaScript
let Value = 0
forever(function () {
    Value = pins.A1.analogRead()
    light.graph(Value, 1023)
})

Credits

Ali Taher
5 projects • 0 followers

Comments