CakeLight cakelight = new CakeLight(config, new LedController(config));
cakelight.setMode(new AmbientMode());
cakelight.startLoop();
-// try {
-// Thread.sleep(1000);
-// } catch (InterruptedException e) {
-// e.printStackTrace();
-// }
-// cakelight.setMode(null);
Runtime.getRuntime().addShutdownHook(new Thread(Main::printTimeStats));
}