This repository shows a simple Teensy-based LIN-bus Master & Slave setup.
For the Master I used this library.
The Slave code is a very basic hardware serial port handler. When it receives a specific message from the Master, it responds with a defined message & checksum.
For calculating the checksum needed by the Slave, I used this tool.
The test setup:
The LIN message frame as seen on the RX pin of the Master:
The serial monitor of the Arduino IDE shows: