google-code-export / er9x

Automatically exported from code.google.com/p/er9x
1 stars 0 forks source link

SETIF istruction (flip-flop) #336

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What new feature/ability do you want?
SET SW1 SW2 set SW2 to true if SW1 is true
RESET SW1 SW2 reset SW2 to false if SW1 is true

What is the expected output?
Use it to have a "memory" of the state of the model.

What version of the product are you using?
582

Please provide any additional information below.
In multiwii software motor are armed with thr low rud right, and motors are off 
with thr low rud left, when motor are off thr is used to configure parameters.

THs is not useful to know the time remaining for the battery

p.s.
I have tried to use a flip flop with

SW1 motor arm
SW2 motor disarm
SW3: OR !SW1 !SW4
SW4: OR !SW2 !SW3

SW3 will be the state of the motors, but doesn't work.

Original issue reported on code.google.com by occhiobe...@gmail.com on 3 Nov 2011 at 5:44

GoogleCodeExporter commented 9 years ago
Close this proposal.

you can use CH16 Replace CH16 to mantain the value.

Original comment by occhiobe...@gmail.com on 9 Nov 2011 at 8:03