OpenLCB
C/C++ PrototypeThis is the index page of the OpenLCB™ C/C++ prototypes directory. This directory contains an OpenLCB prototype implementation. It's hardware-independent as much as possible, so that it can form the basis for the Arduino and PIC implementations. It's also configured to run standalone tests and simulations without specific hardware, e.g on a PC.
To build and run the tests, do
make run
This builds all the example Arduino sketches in the current directory, thereby ensuring they compile. It then tests execution of the library by building several executables in the OpenLcbTest directory, then running them and comparing their output to reference files.
The platform-independent library code lives in the libraries/OlcbCommonCAN directory.
The Arduino is a convenient hardware platform for OpenLCB hobbyists. We provide a number of Arduino “sketches”, complete software loads for the Arduino hardware for various kinds of OpenLCB nodes. These require release 1.0 or later of the Arduino IDE.
For more use information on OpenLCB for Arduino, please see the OpenLCB Arduino page.
The libraries/OlcbTestCAN directory contains Makefiles and test scaffolding to compile the OpenLCB prototype code, run it, and compare it to expected results. Over time, this set of tests is growing into an important regression test of both the protocols can implementations.
The content of this development area, including code, documents and web pages, is kept in the OpenLCB SourceForge.net SVN repository in the “trunk/prototypes/C” directory. To check it out, please do:
svn co https://openlcb.svn.sourceforge.net/svnroot/openlcb/trunk/prototypes/C C
For more information on the SVN source code management tool, please see the SVN website and the online SVN book.
This web sites contains trademarks and copyrighted information. Please see the Licensing page.
This is SVN $Revision: 1804 $ of