X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fui%2Fexamples%2FJsonExample.java;h=4ebd32ae3cb17bb3ba7ad72b958495f49c415c8e;hb=7de4f2b3d61f8801459645d4bd337a91405e107a;hp=9596a6934cd2b2de2be3ff199dcfcca12f834e7b;hpb=19ee1a7fdb06a1df65cd7df78fed935124496707;p=Mograsim.git diff --git a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/examples/JsonExample.java b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/examples/JsonExample.java index 9596a693..4ebd32ae 100644 --- a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/examples/JsonExample.java +++ b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/examples/JsonExample.java @@ -114,11 +114,11 @@ public class JsonExample bdZ = new GUIBitDisplay(model); bdZ.moveTo(90, 85); - new GUIWire(model, swA.getOutputPin(), adder.getPin("A")); - new GUIWire(model, swB.getOutputPin(), adder.getPin("B")); - new GUIWire(model, swC.getOutputPin(), adder.getPin("C")); + new GUIWire(model, swA.getOutputPin(), adder2.getPin("A")); + new GUIWire(model, swB.getOutputPin(), adder2.getPin("B")); + new GUIWire(model, swC.getOutputPin(), adder2.getPin("C")); - new GUIWire(model, adder.getPin("Y"), bdY.getInputPin()); - new GUIWire(model, adder.getPin("Z"), bdZ.getInputPin()); + new GUIWire(model, adder2.getPin("Y"), bdY.getInputPin()); + new GUIWire(model, adder2.getPin("Z"), bdZ.getInputPin()); } } \ No newline at end of file