Skip to content

A simple serial library to send and receive data to any device.

License

Notifications You must be signed in to change notification settings

josepgomes/EzSerial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EzSerial

A simple serial library to send and receive data.

How to install

Copy ezserial.h and ezserial.cpp yo your project's folder and include "ezserial.h".

How to use

//File Talker.cpp
EzSerial serial("/dev/ttyACM0", 57600);
serial.Send("Hello World!\n");
//File Listener.cpp
EzSerial serial("/dev/ttyACM0", 57600);
std::string received = serial.Receive();
if(received.length() > 0){
  std::cout << received;
}

About

A simple serial library to send and receive data to any device.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages