K.I.T.T. effect!!

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
cocowest
Posts: 44
Joined: 18 Oct 2010 12:07

K.I.T.T. effect!!

#1 Post by cocowest » 06 Mar 2012 19:58

hi, can you pubblicate an example of code to realizated a KITT animation with a PIC 16f917 (8mhz) and 17 led to the pic in mikroc pro??

thanks a lot and scuse me for the nice english!! 8) 8)

drdoug
Posts: 1074
Joined: 16 Aug 2007 03:49
Location: St. Louis, MO

Re: K.I.T.T. effect!!

#2 Post by drdoug » 07 Mar 2012 00:59

No, but we would be glad to help correct your attempt at the code.
Start with the mE examples. Turn on a lite for a few hundred milliseconds then turn it off and another on and so on. When you get to the end, reverse the sequence. There are multiple ways of doing this sequencing and working through the problem is a great learning tool.
I am sure you can find some good code guides on the inter webs.

Post Reply

Return to “mikroC PRO for PIC General”