3 posts
Posted 22 April 2012 - 02:55 PM
Brauche Hilfe bei Redstone bzw. Redpower
ich will eine schaltung bauen sie mehrere inputs hat die in ein bundle sind und genauso auch output.
Wie macht man so was
63 posts
Location
Amsterdam
Posted 22 April 2012 - 03:34 PM
Try again in English.
3 posts
Posted 22 April 2012 - 05:55 PM
Need help with Redstone and redpower I want to build a circuit to the multiple inputs into a bundle, and has also the same output. How to make something
3 posts
Posted 22 April 2012 - 06:07 PM
her is a picure
10 posts
Posted 23 April 2012 - 12:12 PM
I'm not entirely sure exactly of what you're asking but lets see if I think you're asking how to change the output from computercraft to a different color in the bundle? I'm not sure exactly of how much you know already or not so I'll start from the beginning.
Obviously to send a simple redstone output you use the command
redstone.setOutput("left", true) -- begins emitting redstone power to the left side of the computer
redstone.setOutput("right", false) --end the emission of redstone power to the right side of the computer
To use bundles effectively you need to combine that code with the colors api and the commands colors.combine() and colors.subtract()
Example:
To Turn on:
c = colors.combine( c, colors.red)
rs.setBundledOutput("back", c )
To Turn Off:
c = colors.subtract( c, colors.red)
rs.setBundledOutput("back", c )
I hope this helps?