Programm for WochenUhr workshop April 2021 ========================= HW-Parts: -CodeBug + LED-Ringx12 + MicroServo ========================= SW-Single Main Loop ========================= Inputs via state machine with 3 states: (0) los: runs the clock plus if Button-B pressed show time value from clock (Zeit) (1) St : to set the hours press B to increment, display in LED matrix AM/PM (2) Mi : to set the minutes press B to increment. Ground LEg-0 to show value. ========================= Outputs: (A) LED-Ring shows seconds (varies intensity in red), minutes (green), hours (blue). (B) Activate servo when flag is set. (C) Toggle pin for latency control (and compensation)