Hi Keith,
The bloody theme is still around! Enjoy!
http://www.teamknightrider.com/music/krtheme.wav
Best regards,
Luciano
P.S. Before you click the above link, cover the PC keyboard with plastic wrap.
If your not commited to a POT, you could use an encoder with a switch to do essentially the same thing (but you would not have the "stops" that a POT has). I love to use these for input devices. One knob is all you need! However, if you have never used an encoder with a PIC there is a bit of learning curve to get them working well. Worth the effort, though (IMO), and lots of resources on the forum/net to learn from.
Here are some from Digi-Key. More options to choose from on other pages as well.
SteveB
Ive concidered using an encoder but doesnt that mean I'll need more than one pin for the input? Right now my pin count is prety much maxed out
As far as using an 3914/5/6 display, they are only for 10segment LED's.
Furthermore, This 12segment display is over used in the dash, its just everywhere... one of the other applications Im working on is the fuel consumption displays which takes the Fuel level and an odometer pulse and computes MPG and distance left... which obviously would require more than a display driver. Plus with the PIC you get the bonus of little sound effects.
So while Im not opposed to an encoder I have no idea how they work... have always assumed they output a 4bit BCD number... As it stands now the only pin I have left for input is portA.5
Yes, for the Switch/Encoder combination you would need 3 Pins. 2 for the encoder (preferable on a pin with an interrupt on change feature) and one for the switch. There are different types of encoders, this probable being the most basic.
Here is a descent explaination, but it sounds like the POT will be best, given the pin count issue.
SteveB
yeah, About as old as me.
Ugh! better you than me, it could be worse though, it could be "It's A Small World . . . ", Oh Damn it, now I have to listen to that!I was in my twenties when Knight rider was on first TV. As if making me feel old isnt bad enough, I have that bloody theme tune running through my head now![]()
![]()
JS
Hey bearpawz, are you building a movie prop car or just pimpim' someone's ride?
Bookmarks