12 063
правки
(Новая страница: « 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. | ||
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). | |||
Перед тем, как начать работать с портом, надо настроить его скорость и другие параметры в зависимости от того, какое устройство к нему подключено: | Перед тем, как начать работать с портом, надо настроить его скорость и другие параметры в зависимости от того, какое устройство к нему подключено: |
правки