Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

Revision:
29:2f3d6d09eaac
Parent:
6:d0348b7a2f05
Child:
30:d056c7c3e81e
--- a/main.cpp	Sat Feb 14 08:02:21 2015 +0000
+++ b/main.cpp	Sat Feb 14 08:14:07 2015 +0000
@@ -1,6 +1,7 @@
 #include "mbed.h"
 #include "rtos.h"
 #include "fll.h"
+#include "fllaux.h"
 
 #define FRAME 1.0 / 60 // 1 frame (sec)
 
@@ -26,8 +27,8 @@
 
 int main(void)
 {
-    button_t array0[] = {R1, 0};
-    button_t array1[] = {B_CIRCLE, 0};
+    button_t array0[] = {R1, 0, R1, 0};
+    button_t array1[] = {B_CIRCLE, 0, 0, 0};
     // user must make Source
     Producer* source0 = new RepeaterSource(array0, sizeof(array0)/sizeof(button_t));
     Producer* source1 = new RepeaterSource(array1, sizeof(array1)/sizeof(button_t));