Skip to content

A serial port class, for interfacing between Macs and microcontrollers. Works over USB serial.

License

Notifications You must be signed in to change notification settings

bridge-software/Mac-SerialPort-Cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac-SerialPort-Cpp

A serial port class for the Mac, written in C++, for interfacing microcontrollers, etc. Works over USB serial.

Usage:

  • Open serial port for a device with: openAndConfigureSerialPort(const char* portPath, int baudRate)
  • Read data using: readSerialData(char* bytes, size_t length)
  • Write data using: writeSerialData(const char* bytes, size_t length)
  • Remember to flush potentially buffered data when necessary with: flushSerialData()
  • Close serial port when done, using: closeSerialPort(void);

About

A serial port class, for interfacing between Macs and microcontrollers. Works over USB serial.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%