Configuration config = Configuration.from("config.properties");
log("Running with config:\n" + config);
- CakeLight cakelight = new CakeLight(config);
- cakelight.setMode(new VideoMode());
+ CakeLight cakelight = new CakeLight(config, new LedController(config));
+ cakelight.setMode(new AmbientMode());
cakelight.startLoop();
// try {
// Thread.sleep(1000);