Skip to content

goosecompote/serial_rw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Простой тест для чтения и записи в последовательный порт на основе модуля pyserial https://github.com/pyserial/pyserial

Скрипт serial_write.py отправляет в канал имя устройства, для которого он запущен.

Скрипт serial_read.py считывает данные с устройства, для которого он запущен.

Пример запуска скриптов:

python3 serial_write.py /dev/ttyUSB0

python3 serial_read.py /dev/ttyUSB0


Simple test to read and write to serial port based on pyserial module https://github.com/pyserial/pyserial

The script serial_write.py sends the name of the device for which it is running to the channel.

The serial_read.py script reads data from the device for which it is running.

Example of running scripts:

python3 serial_write.py /dev/ttyUSB0

python3 serial_read.py /dev/ttyUSB0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages