Re: SerialPort

2019-01-11 Thread UlanReed via Digitalmars-d-learn
For me https://www.virtual-serial-port.org/products/serialmonitor/ is an ideal way to track down problems that may occur during application or driver development, testing and optimization of serial devices and i use this soft all time.

Re: SerialPort

2018-09-23 Thread dangbinghoo via Digitalmars-d-learn
On Thursday, 20 September 2018 at 10:51:52 UTC, braboar wrote: I am going to play with serial port read/write, so I fetched serial-port. After that, I wrote simple program: auto port_name = "/dev/ttyUSB1"; auto reader = new SerialPort(port_name); reader.dataBits(Data

Re: SerialPort

2018-09-22 Thread Vladimir Panteleev via Digitalmars-d-learn
On Thursday, 20 September 2018 at 10:51:52 UTC, braboar wrote: Can anybody give me a guide of using serial port? Here's a program I wrote (after lots of trial-and-error) to control my monitor through an USB serial-port adapter: https://github.com/CyberShadow/misc/blob/master/pq321q.d Hope

SerialPort

2018-09-20 Thread braboar via Digitalmars-d-learn
I am going to play with serial port read/write, so I fetched serial-port. After that, I wrote simple program: auto port_name = "/dev/ttyUSB1"; auto reader = new SerialPort(port_name); reader.dataBits(DataBits.data8); reader.stopBits(StopBits.one); reader.parity(P