Serial Port/en: различия между версиями

Новая страница: «You can send data to the serial port and receive it from there. In Linux, serial ports are represented as some pseudo-files from the ''/dev/'' folder, for example…»
(Новая страница: « The following is a brief, inaccurate description.»)
(Новая страница: «You can send data to the serial port and receive it from there. In Linux, serial ports are represented as some pseudo-files from the ''/dev/'' folder, for example…»)
Строка 8: Строка 8:
The following is a brief, inaccurate description.
The following is a brief, inaccurate description.


В последовательный порт вы можете посылать данные, и получать их оттуда. В Linux последовательные порты представлены в виде некоторых псевдофайлов из папки ''/dev/'', например, в Wiren Board это ''/dev/ttyAPP0'', ''/dev/ttyNSC1'', ''/dev/ttyUSB0'' (у всех в названии есть ''tty'').
You can send data to the serial port and receive it from there. In Linux, serial ports are represented as some pseudo-files from the ''/dev/'' folder, for example, in the Wiren Board it is ''/dev/ttyAPP0'', ''/dev/ttyNSC1'', ''/dev/ttyUSB0'' (all have tty in the name).


Перед тем, как начать работать с портом, надо настроить его скорость и другие параметры в зависимости от того, какое устройство к нему подключено:
Перед тем, как начать работать с портом, надо настроить его скорость и другие параметры в зависимости от того, какое устройство к нему подключено:
12 063

правки