Added a LED controller that consumes LED frames from the modes
[kaka/cakelight.git] / src / kaka / cakelight / Main.java
index 9786aac..e071fec 100644 (file)
@@ -13,7 +13,7 @@ public class Main {
        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 {