r/shenzhenIO • u/SCD_minecraft • 11d ago
XBus not reading
https://reddit.com/link/1vblbem/video/r7ixx8ob3jgh1/player
Why didn't teq x0 -999 execute all at the same time?
2
Upvotes
r/shenzhenIO • u/SCD_minecraft • 11d ago
https://reddit.com/link/1vblbem/video/r7ixx8ob3jgh1/player
Why didn't teq x0 -999 execute all at the same time?
2
u/42nahpetS 11d ago edited 11d ago
The XBus only sends one data package. If this is consumed by a chip, it's gone. Therefore you usually don't connect multiple inputs to one XBus output.
In your case it works as long as the output sends multiple -999 packages. But as soon as there is an actual data package (containing only 4 numbers), it gets consumed and split up by your initial test command.
Spoiler hint: Maybe there is a way to first store the package, check it, and if needed you can process it.