OSDN Git Service

2.0.0
[psychlops/cpp.git] / win32gl / test / compilenew.cpp
index 2f42b04..28faba3 100644 (file)
@@ -5,7 +5,6 @@
 // Current Biology, 10, 679-682.\r
 ///+ Prefix\r
 //// Include Psychlops Package\r
-#define PSYCHLOPS_USE_NIDAQ_MX\r
 #include <psychlops.h>\r
 using namespace Psychlops;    // Initially developed with Psychlops Win32 1.5.3 / 20110311\r
 ///- Prefix\r
@@ -24,7 +23,6 @@ void psychlops_main() {
        rect.fill = Color::red;\r
 \r
        Devices::GenericParallelPort trigger("USB_PARALLEL", 1+8);\r
-       Devices::NIDAQmx nidaq();\r
 \r
        int t=0;\r
 \r
@@ -36,6 +34,7 @@ void psychlops_main() {
                //      rs = CreateProcess("C:\\Windows\\System32\\print.exe",(LPTSTR)" /D:LPT1 D:\\Users\\hskwk\\Desktop\\zzz.txt",NULL,NULL,FALSE,NORMAL_PRIORITY_CLASS,NULL,NULL,&si,&pi);\r
 \r
                if(t%120==0) trigger.trigger();\r
+               rect.draw();\r
 \r
                Display::flip(); // Flip frame buffers\r
        }\r