Loconet interface examples
This code is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Some of the message formats used in this code are Copyright Digitrax, Inc. and are used with permission as part of the EmbeddedLocoNet project. That permission does not extend to uses in other software products. If you wish to use this code, algorithm or these message formats outside of EmbeddedLocoNet, please contact Digitrax Inc, for specific permission.
The sale any LocoNet device hardware (including bare PCB's) that uses this or any other LocoNet software, requires testing and certification by Digitrax Inc. and will be subject to a licensing agreement. Please contact Digitrax Inc. for details.
Alex took this code and turned it into a full Arduino Library: