This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
asd's profile picture

Redstone Expander

Started by asd, 16 July 2013 - 01:01 PM
asd #1
Posted 16 July 2013 - 03:01 PM
I'm sorry for my English, I use google translate.
I made addon that adds interaction with bundled cable from RedLogic via a peripheral block.
Downloads: 1.6.2 1.5.2

Methods:
setOutput(colors) analog redstone.setBundledOutput(side, colors), but it supplies a signal to all sides.
getInput() analog redstone.getBundledInput(side), but it receives a signal from all sides.
Example:
expander = peripheral.wrap("right")
expander.setOutput(255)
Spoiler

Recipe:
Cranium #2
Posted 16 July 2013 - 04:05 PM
While I realized that English may not be your first language, please make sure to read the rules regarding new members.

New users cannot start new topics due to a previous spam issue. Once your post count is high enough, you will be able to post new topics. Until then, you will only be able to reply to existing topics.
Zudo #3
Posted 17 July 2013 - 01:43 AM
Why make a whole peripheral? This is possible without having to code in Java!
immibis #4
Posted 17 July 2013 - 04:17 AM
How is it?
Leo Verto #5
Posted 18 August 2013 - 02:04 PM
Why make a whole peripheral? This is possible without having to code in Java!
How is it?
*cough* Luaforge *cough*

I don't think the redstone API allows for interaction with RedLogic wiring, but this peripheral does.
PixelToast #6
Posted 18 August 2013 - 04:33 PM
Why make a whole peripheral? This is possible without having to code in Java!
iirc the rs api can only setAnalog between 0 and 15, this one can go from 0 to 255 which also makes it good for interfacing with MFR Rednet
efalder413 #7
Posted 25 September 2013 - 12:53 PM
Would it be possible to have it pass a redstone event to the attached computer? Currently running os.pullEvent("redstone") and toggling any redstone wire attached to the peripheral does not return an event.
Exanadu #8
Posted 19 November 2013 - 10:57 AM
works like a champ. exactly what i was looking for to link redlogic to computercraft for my 1.5.2 ftb world
mrgreaper #9
Posted 27 November 2013 - 12:02 PM
ah this looks like exactly what im looking for!

thank you!
mrgreaper #10
Posted 27 November 2013 - 03:33 PM
its not actually working :(/> getting this crash http://pastebin.com/BqYZQLyV

s
hame as it is exactly what i need at mo, i have bundled cable miles away from the computer i need to control and check, could run a massive bundled cable all the way to the computer (man that would be a lot of resources!) but i have a lan cable there already so a peripheral like this would of been perfect