Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (101 codes)
  2. Alcides Ramos (47 codes)
  3. Dany (44 codes)
  4. NART SCHINACKOW (34 codes)
  5. Agent Wolfz (14 codes)
  6. Andrew Hazelden (13 codes)
  7. Roman Black (11 codes)
  8. Alberto Trasimeni (11 codes)
  9. Roman Toropov (9 codes)
  10. Rajendra Bhatt (8 codes)

Most Downloaded

  1. Network Ethernet Library (12207 times)
  2. FAT32 Library (9090 times)
  3. Timer Calculator (7661 times)
  4. Network WiFi Library (5632 times)
  5. PID Library (5544 times)
  6. SMS home alarm system (4605 times)
  7. External Memory (4247 times)
  8. USB Device Library (3782 times)
  9. microSD click - Example (3735 times)
  10. mikromedia for PIC18FJ - Examples (3695 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:

Author: Simon Platten

Category: Gaming and Fun

Downloaded: 701 times

Not followed.

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

Serial Modbus Slave

This project demonstrates a set of functions and structures for implementing an RTU modbus slave on the serial port.

[Learn More]

Modbus Common Gateway Interface (CGI)

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]

Racing Start Lights for Slot Racers

Adds external start lights for any slot racing set.

[Learn More]