(Video Coming Soon...)
For a final project in my Computer Science Principles class, My group and I were to cover the content we learned for the semester. This project is a scrolling marquee program which has adjustable variables from a text file that the user can adjust. The downloadable code has comments to describe each statement in the code. The variables that can be adjusted are the LED size(how many appear on the screen), width of the LED circles, speed of scrolling, and how many times it repeats.
The user enters characters into the console and it will be printed on the screen.
ProjectRestructure: Main class. Contains drawing LEDs and console input.
Drawing Panel: Creates a the frame.
RetrieveConstants: Receives integers from text file and assigns them to constant variables. Checks to see if the text file exists and the numbers entered are readable values
findChars: Finds what letter the program is on and returns an double integer array of 1's and 0's of the specific character from the References page
References: Contains the double integer array of 1's and 0's for each character. 1 will turn the LED on in the specific location and 0 will be off
In the first draft, my team originally had a single array for all of the 1's and 0's. It worked but looked messy so we decided to implement more legible code.