'Setting buffer size for FTDI using python in Raspberry
I'm trying to set a serial buffer size for RX and TX using python in raspberry pi with the FDTI driver. The following code is shown below:
ser.set_buffer_size(rx_size = 250000, tx_size = 65536)
This line is causing an attribute error in python. However, I can't transmit or receive the data using FTDI from the kernel without setting a buffer size. My question is, how can I assign a buffer size to send and receive the data in raspberry pi using python with FTDI?
Thank you in advance for your valuable suggestion. DAP
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
