I was wondering how could I write up expression for this cases:
1st case: object A changes color this way: when Q0.1 is on 1 AND Q.2 on 0, it's red. When Q0.2 is on 1 AND Q0.1 on 0, it,s green. In all other cases, it stays in current color.
2nd case: object B changes color from red to green as soon as Q0.3 gets on 1 and stays green until Q0.4 gets to 1, which sets it back to red. Just like SR flipflop.
Thank you for help in advance.
1st case: object A changes color this way: when Q0.1 is on 1 AND Q.2 on 0, it's red. When Q0.2 is on 1 AND Q0.1 on 0, it,s green. In all other cases, it stays in current color.
2nd case: object B changes color from red to green as soon as Q0.3 gets on 1 and stays green until Q0.4 gets to 1, which sets it back to red. Just like SR flipflop.
Thank you for help in advance.