USB TC-08 Help
13
© 2005 Pico Technology Limited. All rights reserved.
USBTC08044-2
3.2.4
Legacy mode
is designed to aid developers who have already written code for the serial
version of the TC-08 and are not yet ready to rewrite their code for the
modes available with the USB version. The legacy support is going to be
phased out and will eventually be removed from the driver altogether. If you want full
support in the future, use the Streaming or Get Single modes.
To allow code to be easily developed for both the serial version and the USB version of
the TC-08, all the function names have been changed. The
usb_tc08_legacy_set_channel
function no longer supports offset and gain - this is now
stored only as calibration information in the unit itself. The legacy routines will be familiar
if you previously used the serial TC-08, but the following changes should be made to
convert legacy applications:
Reference the new Header file
Reference the new Library file
in the directory of the application
Store a handle returned from
instead of using the serial port