Resolves #44. Added controller and helper for a 4-digit 7-segment display.
The pin configuration uses seven digital output pins, one for each digit and three for the mechanics of setting the display. The controller has methods for enabling/disabling, printing a value, setting the value of a specific digit, enabling/disabling specific decimal points on the display, and clearing the display.
The helper class can parse values passed into the print function into appropriate characters to display on each of the digits on the display. It also validates specific characters to display.
There is a test class for all public helper methods. All tests pass.
Documentation is also included in an AsciiDoc file describing the component, assembly, troubleshooting, and examples.
Resolves #44. Added controller and helper for a 4-digit 7-segment display.
The pin configuration uses seven digital output pins, one for each digit and three for the mechanics of setting the display. The controller has methods for enabling/disabling, printing a value, setting the value of a specific digit, enabling/disabling specific decimal points on the display, and clearing the display.
The helper class can parse values passed into the print function into appropriate characters to display on each of the digits on the display. It also validates specific characters to display.
There is a test class for all public helper methods. All tests pass.
Documentation is also included in an AsciiDoc file describing the component, assembly, troubleshooting, and examples.