Library to talk to FTDI chips. You find the latest versions of libftdi at https://www.intra2net.com/en/developer/libftdi/
The library is easy to use. Have a look at this short example:
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int ret;
{
fprintf(stderr, "ftdi_new failed\n");
return EXIT_FAILURE;
}
printf("Initialized libftdi %s (major: %d, minor: %d, micro: %d, snapshot ver: %s)\n",
version.version_str, version.major, version.minor, version.micro,
version.snapshot_str);
{
return EXIT_FAILURE;
}
{
unsigned int chipid;
printf("FTDI chipid: %X\n", chipid);
}
{
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
More examples can be found in the "examples" directory.