i2c-tiny-usb test application - http://www.harbaum.org/till/i2c_tiny_usb------------------------------------------------------------------------This simple test application is meant to demonstrate libusbinterfacing to the i2c-tiny-usb interface.This is no useful application, if you are only interesting inusing the i2c-tiny-usb interface in your linux box pleaseuse the kernel driver.Linux-----This demo application has been developed under and for linux. Justmake sure you have libusb installed. To use this program justcompile by typing "make" and run the resulting i2c_usb.Be sure that the i2c-tiny-usb kernel driver is not loaded whilerunning the test application. Otherwise the test application willfail with the follwing error message:USB error: could not claim interface 0: Device or resource busyThis is due to the fact that no two drivers may access the interfaceat the same time.Windows-------This program can be compiled for windows. This has been testedunder Linux using xmingw and the windows port of libusb(see http://libusb-win32.sourceforge.net). To install thedriver plug the device in and install the driver fromthe win directory. Then run testapp/i2c_usb.exeThis program may also be compiled under windows using cygwin ormingw (which is part of cygwin). In order to use cygwin simplycopy usb.h win32-linusb to /cygwin/usr/include and libusb.a to/cygwin/lib and do a "make -f Makefile.cygwin". Don't forget todistribute /cygwin/bin/cygwin1.dll with your file to allow it torun in non-cygwin environments as well. No dll is required when usingmingw. In that case copy usb.h to /cygwin/usr/include/mingw andlibusb.a to /cygwin/lib/mingw. Finally do a "make -f Makefile.mingw".MacOS X-------The program can be compiled under MacOS as well. The fink versionof linusb has to be installed and a simple "make -f Makefile.macos"will build the native MacOS X version.