Newsgroups: comp.robotics
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!agate!nntp-ucb.barrnet.net!nntp-hub2.barrnet.net!pacbell.com!gw2.att.com!oucsboss!oucsace.cs.ohiou.edu!smcfarla
From: smcfarla@oucsace.cs.ohiou.edu (Sidney Edward McFarland)
Subject: Set Switch (new idea)
X-Nntp-Posting-Host: oucsace.cs.ohiou.edu
Message-ID: <D823t9.1uK@boss.cs.ohiou.edu>
Sender: postmaster@oucsace.cs.ohiou.edu
X-Nntp-Posting-Date: Thu May  4 09:51:05 1995
Organization: Ohio University CS Dept,. Athens
Distribution: usa
Date: Thu, 4 May 1995 13:51:09 GMT
Lines: 24

Back to the Set Switch idea. BTW, thanks for all the replies.
What if I used a T flip-flop. I mean, just look at the next state diagram...

				   Q+ Table

       -------			 \ Q 0   1	Note: X=input to flip-flip
   X--|   T   |--Q		X \ --- ---	      Q=Current State
      | flip- |			 0 | 0 | 1 |	      Q+=Next State
      | flop  |--not(Q)		    --- ---	      C=Clock
       ---^---			 1 | 1 | 0 |
	  C			    --- ---

Notice that as long and I input X as 0, my current value of Q will remain the
same. However, if I input a 1, the value of Q will change from 0 to 1 to 0
to 1 etc. as a function of the clock. So here's my solution. If I want to
change the status of Q, I just set X to high, then send a clock cycle
through C (high then low again), then set X low again. That will change my
value of Q from 1 to 0 or from 0 to 1. Simple. Will this work? Is there a
better way?
-- 
Sidney E. McFarland Jr. | smcfarla@oucsace.cs.ohiou.edu   | "Klato...
302 Bryan Hall          | home   : (614)452-9015 Summer   |  Verada...
Athens, OH 45701        | school : (614)597-7754 UnSummer |  Nehmkx%#@..."
U.S.A.                  | work   : (614)593-1238 8am-10am |         -Ash
