Home

Awesome

LIN Library

Library and examples for LIN (Local Interconnect Network) on Arduino. Developed for the Macchina M2. Can be modified for any Arduino board with UART available and any LIN slave.

Install

  1. Download the files
  2. Move the folder LIN to your Arduino Libraries

EXAMPLES

Several example sketches are included in the LIN Library to demonstrate typical usage:

Data processing: If Identification Byte is correct, Checksum Byte is compared with Checksum calculated from received data. If Checksum Byte is correct, data is printed on Serial Monitor via SerialUSB. Otherwise error is printed on Serial Monitor and data cleared.

NOTES

LIN Stack was developed using the following:

More information about LIN can be found in those documents.

Changes duronflo