37 Sensor Kit

KY-027 Light Cup

KY-027 Light cup: a tilt switch with an LED; two of them pass light between each other. It reads as digital in, pwm out. This walkthrough wires it to the HERO Board and runs its example code.

This lesson needs a free account. Sign in to keep going · About the course