diff --git a/lights.py b/lights.py --- a/lights.py +++ b/lights.py @@ -31,9 +31,12 @@ class Lights: self.demo_i = 0 self.demos = [ + rainbow.Rainbow(self.config, self, self.matrix, self.controller), paint.Paint(self.config, self, self.matrix, self.controller), - rainbow.Rainbow(self.config, self, self.matrix, self.controller), snake.Snake(self.config, self, self.matrix, self.controller), + pong.Pong(self.config, self, self.matrix, self.controller), + tetris.Tetris(self.config, self, self.matrix, self.controller), + clouds.Clouds(self.config, self, self.matrix, self.controller), ] def reset(self): @@ -52,6 +55,8 @@ class Lights: led_iteration_count = 0 frame_count = 0 + self.demos[self.demo_i].run() + while True: for event in self.controller.read_input():