X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=win32gl%2Ftest%2Fcompilenew.cpp;h=28faba3404b0d76c08d9a3bc78159944cbe627de;hb=e77ebcd1edec379c18fefacdf9d91d140950f0a8;hp=2f42b04fc360cd2fbb00f5dd4e06ae8b793e302a;hpb=06c3c01470b14e12023c2583f9df049069a3b432;p=psychlops%2Fcpp.git diff --git a/win32gl/test/compilenew.cpp b/win32gl/test/compilenew.cpp index 2f42b04..28faba3 100644 --- a/win32gl/test/compilenew.cpp +++ b/win32gl/test/compilenew.cpp @@ -5,7 +5,6 @@ // Current Biology, 10, 679-682. ///+ Prefix //// Include Psychlops Package -#define PSYCHLOPS_USE_NIDAQ_MX #include using namespace Psychlops; // Initially developed with Psychlops Win32 1.5.3 / 20110311 ///- Prefix @@ -24,7 +23,6 @@ void psychlops_main() { rect.fill = Color::red; Devices::GenericParallelPort trigger("USB_PARALLEL", 1+8); - Devices::NIDAQmx nidaq(); int t=0; @@ -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); if(t%120==0) trigger.trigger(); + rect.draw(); Display::flip(); // Flip frame buffers }