Skip to content

Implementation of Arduino's Stream class which use internal ring buffers to emulate a pair of connected Streams or a Loopback Stream

License

Notifications You must be signed in to change notification settings

paulo-raca/ArduinoBufferedStreams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loopback Stream

This is a very simple implementation of Arduino's Stream class, where all data written with write() can be read back with read()

It can be used to easily add a buffering layer to communications.

Piped Streams

PipedStreams come in pairs. Anything written to one of them can be read back on the other.

It can be used to easily implement the communication between multiple components in a Serial-like APIs (Maybe Socket-like API?)

About

Implementation of Arduino's Stream class which use internal ring buffers to emulate a pair of connected Streams or a Loopback Stream

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages