LIN bus support

Hello,

is there any LIN library that I could use? I’m managing a LIN-enabled system, and I have code working on Arduino UNO, but I’m not sure how to translate that to my Spark Core. This is the code I’m trying to move to the spark:

Any guidance would be appreciated.

thanks,
Ignacio.