LIN icon indicating copy to clipboard operation
LIN copied to clipboard

The LIN protocol implemented over Arduino APIs (Serial and Digital IO)

Results 10 LIN issues
Sort by recently updated
recently updated
newest added

Calculated TBit is 1/10 the real value due to a missing zero. For 19200 baud TBit is 52ms not 5ms. and 52 vs 50 isn't 40% different it's 4%. so...

Hello, is it possible to add the LIn Slave as a lib? I think ist more tan jus removing the sync bit 0x55, right? Thank's a lot Alf

The code in lin.h file should be surrounded by header guard like this: ``` #ifndef LIN_H_ #define LIN_H_ // Code goes here. #endif // LIN_H_ ``` This way it can...

in lin.cpp, line 124 should be exchanged to accomplish this automatically: ``` // LIN diagnostic frame shall always use CHKSUM of protocol version 1. uint8_t cksum = dataChecksum(message, nBytes, (proto...

moved/added serial.flush() to Lin::recv to allow sync byte and ID byte to send properly before txPin is flipped to an INPUT.

Hello, do I need to use a LIN transceiver (for example this one http://www.atmel.com/images/atmel-4916-lin-networking-ata6662c_datasheet.pdf ) with your library? I want to generate LIN 2.0 master frame with 8 bytes of...

Hey all, I tried making two Arduino megas communicate via the LIN bus using the given library, but when I try to print the frame in the serial monitor, it...

I am trying to convert you code to use software serial, so I can use it the the analyzer board I built based on Zapta's project (https://github.com/zapta/linbus/tree/master/analyzer) It uses a...