On Monday, 3. October 2016 22:29:32 mackowiakp wrote: > pkod=(unsigned char)parametr; > ftdi_write_data(&ftdic, &pkod, 1);} > > ftdi_read_data(&ftdic, &c, 1);
what happens if you add a "sleep(1);" between ftdi_write_data() and ftdi_read_data()? It might take some time until the receiving end actually acts on the "command". Cheers, Thomas -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
