switch hold position

Status
Not open for further replies.

john.stm

Newbie level 5
Joined
Feb 10, 2013
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,350
i have a motor which
rotates in clockwise if switch s1 is actuated or
rotates in Anti-clockwise if switch s2 is actuated. (both are separate switches)

In my logic it is stated that s1 state must be saved . (can i use a flip flop or latch or shift register ? )

It is also stated that S1-hold state .. what exactly it means and how can i realize it?
 

dont use a latch. Use a flip flop (a shift register is just a chain of flip flops).

To hold a state, have an enable signal that only moves the state machine on when the enable is high.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…