CC and Redpower APIs

ComputerCraft can interact with the Bundled cables from Redpower. The Computers can trigger and read any of the coloured cables in the cable bundle.

Usage in building
A Console or Turtle will connect to any Redpower Bundled Cables or Jacketed Bundled Cable. The cables will show they are connected by facing the Console or Turtle.

Usage in coding
A program needs to be coded for these cables to do anything at all. Programming takes place in the Console. A Console uses lua for it's programming language.

The lua functions assiociated with this are:

color = color.[color]

colorSet = color.combine(color, color, ...)

colorSet = color.combine(colorSet, color, ...)

colorSet = color.subtract(colorSet, color, ...)

rs.setBundledOutput(side, colorSet)

rs.getBundledInput(side)