loop() is intended to be an entry point for other functions to do the heavy lifting, so let's refactor this function.
[ ] Use case statements instead of if statements when selecting a display type.
[ ] This section of code should be it's own separate function and called at the end of every case that is not case 1.
[ ] Get rid of dispTypePrev and move setting the next display type to the new case statement. Case statements shouldn't fall through like if statements do (breaks do this).
[ ] Remove unnecessary serial prints. You should only have to print out the display type at the start of the loop.
https://github.com/957SWARM/Digital-Signboards/blob/350e58d0ab92add685894c658fd1e5257f89f208/main/main.ino#L94
loop() is intended to be an entry point for other functions to do the heavy lifting, so let's refactor this function.