Skip to content

NanoPi Fire 2A Serial port communication in C for QtE-demo

Notifications You must be signed in to change notification settings

atrotech/comtest

 
 

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%