yangtao109 / lin-bus Goto Github PK
View Code? Open in Web Editor NEWThis project forked from gandrewstone/lin
The LIN protocol implemented over Arduino APIs (Serial and Digital IO)
This project forked from gandrewstone/lin
The LIN protocol implemented over Arduino APIs (Serial and Digital IO)
This is a LIN (http://en.wikipedia.org/wiki/Local_Interconnect_Network) protocol master implementation that supports LIN 1.X or LIN 2.X frame types. It is built on top of the "Arduino" Serial and digital IO APIs. These "underface" APIs form a useful abstraction layer for any chip. So its better to implement them for your new microcontroller and then get LIN for free using this library than to implement LIN over a raw register set. The library supports injection of immediate LIN frames, or a "skew heap" based schedule table. The skew heap schedule table differs from what is suggested by the LIN specification (which defines a linked list of LIN frames and time intervals between them). This implementation provides a similar "pile" of LIN frames, but instead of being a static list, the skew heap essentially dynamically sorts the frames to find the next scheduled frame. This allows frames to be easily inserted and removed from the schedule, and frame interval periods (the time between 2 issues of the same frame) to be changed dynamically. It also means that the frame interval period does not depend on the total length of the schedule table (as it does for the specced linked list implementation) which eliminates an unnecessary interaction between otherwise independent LIN devices. The library was tested on a Lightuino 5 (Arduino Duemilanove/Uno compatible board) using a LIN slave LED of unknown provenance. So you will have to change the test code to generate frames for whatever LIN device you have on hand.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.