OpenComputers
OpenComputers copied to clipboard
Fix documentation on redstone orientation
By experimentation, robots seem to use absolute sides for redstone output, not relative sides.
I’m sorry, this is not actually correct. But I’m very confused as to what is correct!
lua> rs.getOutput()
{[0] = 0.0,
0.0,
0.0,
0.0,
0.0,
0.0}
lua> rs.setOutput(5,15)
0.0
lua> rs.getOutput()
{[0]=0.0,
0.0,
15.0,
0.0,
0.0,
0.0,
0.0,
Huh? I set output side 5 and side 2 changed? This was done on a robot facing east. There seems to be some serious confusion around redstone, sides, and robots. This happened with the latest release, 1.7.5.192.
Yeah, this is fixed in later CI builds, as well as the upcoming OpenComputers 1.7.6.