- Apply to UW
- Programs & Majors
- Cost & Financial Aid
- Current Students
- UW Life
- About UW
Last Updated: 7/24/18
This project shows how to build a light gauge that uses an LED bar graph to show the measured brightness level.
The function “gauge()” is a good example of using “if” statements to analyze sensor values and control LED’s based on a set of rules.
The gauge circuit and software can be reused in any project where we want to display a sensor value.
The presentation material and the code can be downloaded at 5-LED Light Gauge.