Use Firefox on Windows We are aware later versions of Edge and Chrome on Windows can have trouble dragging and dropping blocks. Firefox seems to work fine. We haven't changed anything on our site; this is purely due to a Chrome update. We are still investigating what can be done to make our site work with Chrome. Initial work revealed it was complicated and would take some time to resolve. We're sorry for any inconvenience.
You want your program to simply detect if a leg, say 0, has been connected to the ground leg. If it has you need to let the user know by turning on some LEDs, if leg 0 isn’t connected to ground, then you should turn the LEDs off.