First, here’s some example code that shows how to read bundled cables. When you run this program, it will tell you whether each of the black, red, and green wires is powered or not, in a bundled cable attached to the left side of the computer:
if rs.testBundledInput("left", colours.black) then
print("Black is on.")
end
if rs.testBundledInput("left", colours.red) then
print("Red is on.")
end
if rs.testBundledInput("left", colours.green) then
print("Green is on.")
end
Second, sometimes people have trouble getting ComputerCraft working with RedPower. In the past (I don’t know if this is still true with the most recent version) there were load order issues; the ComputerCraft mod had to be initialized after the RedPower mod when starting up Minecraft, or else bundled cable wouldn’t work. See
this thread or
this thread for details. There’s a program called “redprobe” provided with ComputerCraft that shows you the state of both ordinary redstone and bundled cable on each side of a computer; try running it with bundled cable attached (and one or more wires powered) and see if it recognizes the input. If that doesn’t work, the load order problem is probably what you’re running into, and the problem clearly isn’t your own code.