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

Rednet Cable and AnalogOutput

Started by godsrock, 19 March 2014 - 10:35 PM
godsrock #1
Posted 19 March 2014 - 11:35 PM
I'm trying to change the signal strength in a minefactory reloaded Rednet Cable. Rednet Cables only accept colored inputs. The problem i'm having is mixing analog output and bundled output. This is to get a colored output with variable redstone strength. I don't understand why it doesn't work. I checked the Rednet Cable with the Rednet Meter but the signal strength is only 15 or 0. Any help would be appreciated.


S=side
P=Strength of signal
C=Color of signal

function str(S,P,C)
redstone.setAnalogOutput(S,P)
sleep(1)
redstone.setBundledOutput(S,C)
sleep(1)
redstone.setBundledOutput(S,0)
end
str("right",13,1)
theoriginalbit #2
Posted 19 March 2014 - 11:40 PM
The MFR Rednet Cable's strength is not adjustable. Only vanilla Redstone is.
Edited on 19 March 2014 - 10:40 PM
godsrock #3
Posted 19 March 2014 - 11:41 PM
okay thanks
OReezy #4
Posted 20 March 2014 - 10:51 PM
Rednet will carry the same signal it receives so if you put a piece if Redstone between your computer and the cable, analog will work up to a strength of 14. You won't be able to use the different color channels however.
Edited on 20 March 2014 - 09:53 PM