fix: Address of x2out on connect 4

Updating parameter value of the object x2out of the "class Connect4",
from "self._slc_led" to "self._slc_output". Also updating the position
of the bit in "_slc_output" from 6 to 0!
This commit is contained in:
Ayman628
2024-09-16 08:03:11 +02:00
committed by Sven Sager
parent 9741d13514
commit 2ac39e2619

View File

@@ -1298,7 +1298,7 @@ class Connect4(ModularBase):
) )
self.x2out = IOBase( self.x2out = IOBase(
self, self,
["core.x2out", 0, 1, self._slc_led.start, exp_x2out, None, "Connect_X2_OUT", "6"], ["core.x2out", 0, 1, self._slc_output.start, exp_x2out, None, "Connect_X2_OUT", "0"],
OUT, OUT,
"little", "little",
False, False,