Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

atrotech/comtest

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 

Repository files navigation

comtest

NanoPi Fire 2A Serial port communication in C.

and you can use this link:
https://github.com/atrotech/QtE-Demo/blob/main/SerialPort.cpp


How to build

# git clone https://github.com/atrotech/comtest.git
# cd comtest
# gcc -o comtest comtest.c

Usage

./comtest -d /dev/ttyAMA3 -s 38400

Parameters

# ./comtest --help
comtest - interactive program of comm port
press [ESC] 3 times to quit

Usage: comtest [-d device] [-t tty] [-s speed] [-7] [-c] [-x] [-o] [-h]
         -7 7 bit
         -x hex mode
         -o output to stdout too
         -c stdout output use color
         -h print this help



friendlyarm NanoPi Fire2A Serial port wiki

https://wiki.friendlyarm.com/wiki/index.php/Serial_port

Releases

No releases published

Packages

No packages published

Languages

  • C 89.7%
  • Makefile 10.3%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.