title: ON/OFF Switch with Push button (LTSpice & electronic test)
body: <p>I am trying to do an ON/OFF switch to power up my MCU when user use a push button :
  <a href="https://i.stack.imgur.com/sV9Vs.png" rel="nofollow noreferrer">Schematics</a></p>
  <p>When the user clicks once, the MCU should light up. When the user clicks a second time, the MCU should turn off.
  To do this I thought of the simplest solution, in analogue, which seems to be a flip flop D.
  I did some simulations on LTspice, it seems to work, but I'm not really sure.
  <a href="https://i.stack.imgur.com/KsiDR.png" rel="nofollow noreferrer">Simulation result</a></p>
  <p>I have three questions:</p>
  <ul>
  <li>Why do I get 1V and not 3V at the output of the simulation?</li>
  <li>Does this setup seem OK in reality?</li>
  <li>What to do with the SET &amp; RESET pins: should I leave them unconnected or connect them to GND?</li>
  </ul>
  <p>Regards</p>