Go Down

Topic: Need some pointers on some code (Read 1 time) previous topic - next topic

oniudra_-

Ok I will...sorry I found it like this on the net

Arrch


Thanks...like I said Im a real newbie. :smiley-zipper:

Iv got the numbers 1 to 7 showing as I turn the knob in one direction and when I turn it back it counts back down.

At the 3rd display when turning the knob I need to then flip a switch and it shows up the 4 th digit without turning the knob.

hang on,,, I am the knob here  :D



You still need to define your requirements a little more. Do you mean the switch will act as an override?

oniudra_-

Thats it yes Im looking to have a condition in there of some sort so that it removes that 3 rd display with out moving the potentiometer.

Im busy making a gear shifter display and the gear shifter don't move only in a up and down motion.... got a right movement which
Im trying to use a switch for that

Arrch


Thats it yes Im looking to have a condition in there of some sort so that it removes that 3 rd display with out moving the potentiometer.


What do you mean "3rd" display? I thought you only had one digit?

oniudra_-

Will state that better......Got a one digit 7 segment and mean it like this

No 0= Park ( P)
No 1= Reverse ( R )
No 2= Nutral (N )
No 3 = Drive ( D )

No 4 = Three  (3)              need the three to work from a switch and blank out drive without moving the potentiometer.
No 5 = Two    (2)
No 6 = Low     (1)

Go Up