Skip to Main Navigation. Each navigation link will open a list of sub navigation links.

Skip to Main Content

Apply to the University of Wyoming apply now

Global Resource Navigation

Visit Campus
Download UW Viewbook
Give to UW

Engineering Summer Program for Teachers - 2017

Scrolling Bar Graph

Author: Bob Kubichek, University of Wyoming

Date: 5/22/2017

This is a follow-on to the “BarGraphMatrix” project, which is based on the 8x8 LED Matrix using the MAX display driver and the LedControl library.  More information is provided in the BarGraphMatrix module project.

Here we give an Arduino function that shows a scrolling bar graph on the LED matrix.  Each time the function is called with a new value, the current bar graph display is moved to the right (the oldest bar disappears), and the new value is shown as the left most bar. The result is that the bar graph appears to scroll left to right.  Modifying it for right to left scrolling would be straightforward.

This program can be easily adapted to your real-world application by using it to show the time history of a sensor such as temperature or light. The presentation material and the code can be downloaded at Scrolling Bar Graph.

1000 E. University Ave. Laramie, WY 82071
UW Operators (307) 766-1121 | Contact Us | Download Adobe Reader

Twitter Icon Youtube Icon Instagram Icon Facebook Icon

Accreditation | Emergency Preparedness | Employment at UW | Gainful Employment | Privacy Policy | Accessibility Accessibility information icon