Registry / other / libftdi1

libftdi1

JSON →
library1.5vcpkgunverified

FTDI USB driver with bitbang mode.

vcpkg install libftdi1
INSTALL
IMPORT
SIG · LIBFTDI1
L
libftdi1
othercppv1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ftdi.h
#include <ftdi.h>

Open and close an FTDI device

#include <ftdi.h> #include <iostream> int main() { struct ftdi_context *ftdi = ftdi_new(); if (ftdi == nullptr) { std::cerr << "Failed to allocate ftdi context" << std::endl; return 1; } int ret = ftdi_usb_open(ftdi, 0x0403, 0x6001); if (ret < 0) { std::cerr << "Failed to open device: " << ftdi_get_error_string(ftdi) << std::endl; ftdi_free(ftdi); return 1; } ftdi_usb_close(ftdi); ftdi_free(ftdi); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

libftdi1 — pip install libftdi1 · libregistry