Missing ftdi.h include line? Chris
On Wed, Nov 30, 2016 at 11:42 AM, Oliver Rademaker <[email protected]> wrote: > Hello, > > I try to write some (DMX) data to my FTDI Device. But if I got right the > ftdi_write_data method do not wait, right? So I tried to use > fetid_write_data_submit, but when I do the compilation I get error that the > method is not declared in this scope: > > ‘ftdi_write_data_submit’ was not declared in this scope > ftdi_transfer_data_done(ftdi_write_data_submit(this->pFtdi, this->reset, > 1)); > > ^ > dmxbridger.cpp:62:77: error: ‘ftdi_transfer_data_done’ was not declared in > this scope > ftdi_transfer_data_done(ftdi_write_data_submit(this->pFtdi, this->reset, > 1)); > > > > > > Complete Code are: > > //Reset line > ftdi_set_baudrate(this->pFtdi, 96000); > ftdi_transfer_data_done(ftdi_write_data_submit(this->pFtdi, this->reset, > 1)); > > //Send data > ftdi_set_baudrate(this->pFtdi, 250000); > ftdi_transfer_data_done(ftdi_write_data_submit(this->pFtdi, this->buffer, > 512)); > > Has Anyone an Idea? > > BR, Oliver > > -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
