Jump to content




Redstone Expander


9 replies to this topic

#1 asd

  • New Members
  • 1 posts

Posted 16 July 2013 - 02: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:
Posted Image

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 16 July 2013 - 03: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.

#3 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 17 July 2013 - 12:43 AM

Why make a whole peripheral? This is possible without having to code in Java!

#4 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 17 July 2013 - 03:17 AM

How is it?

#5 Leo Verto

  • Members
  • 620 posts
  • LocationOver there

Posted 18 August 2013 - 01:04 PM

View Postimmibis, on 17 July 2013 - 03:17 AM, said:

View PostZudoHackz, on 17 July 2013 - 12:43 AM, said:

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.

#6 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 18 August 2013 - 03:33 PM

View PostZudoHackz, on 17 July 2013 - 12:43 AM, said:

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

#7 efalder413

  • Members
  • 3 posts

Posted 25 September 2013 - 11:53 AM

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.

#8 Exanadu

  • Members
  • 6 posts

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

#9 mrgreaper

  • Members
  • 88 posts

Posted 27 November 2013 - 12:02 PM

ah this looks like exactly what im looking for!

thank you!

#10 mrgreaper

  • Members
  • 88 posts

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users