TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136822 times)
  2. FAT32 Library (69985 times)
  3. Network Ethernet Library (55973 times)
  4. USB Device Library (46287 times)
  5. Network WiFi Library (41894 times)
  6. FT800 Library (41203 times)
  7. GSM click (29004 times)
  8. PID Library (26421 times)
  9. mikroSDK (26387 times)
  10. microSD click (25383 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: 1786 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

Serial Modbus Master

4

This project demonstrates a Modbus Master implementation, it has been developed and tested for a P18F45K22 using an EasyPic v7 for testing and written in mikcroC.

[Learn More]

WiFi HTTP Demo Example v2.3

5

This is a variation on the MikroElektronika WiFi HTTP Demo project. I posted only because 'dejan.odabasic' of the mikroElektronika team suggested sharing it.

[Learn More]

Serial Modbus Slave

15

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

[Learn More]