Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/nto/bak2/BoardTest.cpp

Go to the documentation of this file.
00001 #ifndef __J2K__QNXRTP__BoardTest_CPP__
00002 #define __J2K__QNXRTP__BoardTest_CPP__
00003 
00004 #include "Board.cpp" 
00005 
00006 int main() 
00007 {
00008    Board b;
00009  
00010    register int k = 0;
00011    for( k = 0; k < 256; k++ )
00012    {
00013      USHORT val = k << 8 | k;
00014      printf( "IN=%x, OUT=%x. \n", b.Write( val ), val );
00015    } 
00016 
00017    for( k = 0; k < 1000; k++ )
00018       b.Write( b.Read() );
00019 
00020    b.KillServer();   
00021 }
00022 
00023 #endif

Generated on Sun Oct 14 18:46:21 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001