A test program for ChoroQ library.

Revision:
2:2acbc2d1a208
Parent:
1:adcec9a96e89
--- a/main.cpp	Mon Sep 20 00:06:36 2010 +0000
+++ b/main.cpp	Wed Oct 13 10:47:41 2010 +0000
@@ -13,12 +13,14 @@
  * Entry point.
  */
 int main() {
+    ChoroQ::Channel ch = ChoroQ::ChA;
+    
     while (1) {
         /*
          * get forward.
          */
         for (int i = 0; i < 10; i++) {
-            cq.execute(ChoroQ::ChA, ChoroQ::Up);
+            cq.execute(ch, ChoroQ::Up);
         }
         wait_ms(2000);
 
@@ -26,7 +28,7 @@
          * go astern.
          */
         for (int i = 0; i < 10; i++) {
-            cq.execute(ChoroQ::ChA, ChoroQ::Down);
+            cq.execute(ch, ChoroQ::Down);
         }
         wait_ms(2000);
     }