Added a draft for an ambient mode
[kaka/cakelight.git] / src / kaka / cakelight / Main.java
index 9786aac..bc13c7f 100644 (file)
@@ -13,8 +13,8 @@ public class Main {
        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);