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