TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139560 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

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]

< Back
Project

KnightRider on easyPIC v7

Rating:

0

Author: Simon Platten

Last Updated: 2012-07-06

Package Version: 1.0.0.8

Category: Gaming and Fun

Downloaded: 1856 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.

No Abuse Reported

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".

  • Information
  • Comments (0)

Project Blog

Knight Rider effect on EasyPic v7

Video of effect.

Watch on YouTube


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.

ALSO FROM THIS AUTHOR

LED Faders

0

This project demonstrates my fading structure and functions. You can create multiple faders on any I/O port you specify. Faders can be either individual pins or a mask of multiple pins. You specify the speed of fade, direction (in or out) and what options you want.

[Learn More]

Generic Linked List

0

This small project demonstrates how to use my generic linked list structure. Included in this project is a very small LED scanner, each LED is a node in the linked list.

[Learn More]

Modbus Common Gateway Interface (CGI)

2

This is a modbus CGI which can be used with any Windows web-server. I used Apache 2.2 to develop and test this. It allows you to send requests to a modbus network using HTTP get requests.

[Learn More]