Skip to content

ServedSpicy/Serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServedSpicy Serial Library

This is the shared library used by the webserver
of the ServedSpicy configurator to send serial
data to the machine controller.

Requirements

To compile the library / test binaries you will need GCC.

This library uses libserial.

sudo apt install libserial-dev

Building

The library can be build by executing Build.

  1. Open a terminal in the projects root directory.

  2. Start building with:

    Tools/Build.sh

Testing

C++

Execute the C++ test script by:

  1. Connecting an Arduino UNO.

  2. Opening a terminal in the projects root directory.

  3. Start the test with:

    Tools/C++.sh

Deno

Execute the Deno integration test script by:

  1. Connecting an Arduino UNO.

  2. Opening a terminal in the projects root directory.

  3. Start the test with:

    Tools/Deno.sh