Re: kForth serial port interface update

Liste des GroupesRevenir à cl forth 
Sujet : Re: kForth serial port interface update
De : krishna.myneni (at) *nospam* ccreweb.org (Krishna Myneni)
Groupes : comp.lang.forth
Date : 04. Nov 2024, 13:26:17
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vgaeh9$ueq8$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 11/1/24 09:18, Krishna Myneni wrote:
The RS232 serial port interface for kForth (-32/64 for Linux) has been updated to be able to provide user access to the modem bits e.g. DSR, CTS etc.
 https://github.com/mynenik/kForth-64/blob/master/forth-src/serial.4th
...
serial.4th has been updated to open USB -> RS232 devices also. These have device names /dev/ttyUSB0  /dev/ttyUSB1  etc. The predefined port constants USBCOM1 and USBCOM2 map to these dev interfaces. A word of caution -- if you have more than one USB->RS232 adapters, they may not map to the same /dev/ttyUSBx interface each time the system is booted.
Also, please make sure to add the user to the dialout group in order to have permissions for read/write access to both the UART and USB serial interfaces (/dev/ttySx and /dev/ttyUSBx).
--
Krishna Myneni

Date Sujet#  Auteur
1 Nov 24 * kForth serial port interface update4Krishna Myneni
1 Nov 24 +* Re: kForth serial port interface update2sjack
3 Nov 24 i`- Re: kForth serial port interface update1Krishna Myneni
4 Nov 24 `- Re: kForth serial port interface update1Krishna Myneni

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal