We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Simon Platten
Last Updated: 2012-07-06
Package Version: 1.0.0.8
Category: Gaming and Fun
Downloaded: 1852 times
Not followed.
License: MIT license
KnightRider style sequence on Ports C & D LED's
This project demonstrates the use of several animation structures and a useful fader, you can use these structures for whatever purpose you wish. The only thing I ask is please leave the comment blocks unmodified.
Added support for P18F4550 as well as P18F45K22.
Feedback welcome.
Do you want to subscribe in order to receive notifications regarding "KnightRider on easyPIC v7" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "KnightRider on easyPIC v7" changes.
Do you want to report abuse regarding "KnightRider on easyPIC v7".
The project demostrates the implementation of several structures, a fader that allows you to create fading effects In or Out on individual LED's. There is also an animation structure that allows you to create sequences and patterns on a Port.
[22/05/2012]
I plan to expan this to allow you to chain multiple animation sequences together by making the animation structure a linked list. The next version will span multiple ports and I will add a bounce option to allow the animation to be played in reverse once it gets to the end of the sequence.
[23/05/2012]
Animations can now be joined forming a linked list, which can be played out over multiple ports, the original KnightRider effect which was previously only on Port C, now starts on Port B, then Port C, then Port D, then bounces back through D, C, B and continues in a loop.
[24/05/2012]
Fixed a couple of errors which I found when changing the flags, removing loop, bounce and default direction. Now all fixed.
[25/05/2012]
Improved fader, noticied flicker during day time which wasn't obvious when working in the evening. Changed starting off cycle period from 100 to 60, seems much better, cannot notice flicker.
[28/05/2012]
Added support for P18F4550 as well as P18F45K22.
[02/06/2012]
Modified to use Ports C & D, freeing up Port B for LCD which now displays application title and version number.
[07/06/2012]
Cleaned up source, changed optimization setting and re-compiled.
[06/07/2012]
Added POT so speed can be adjusted.