Implement digital clock with a switch in config.