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

Problem with MFFS rennet cables

Started by SteveMC, 10 July 2016 - 10:02 PM
SteveMC #1
Posted 11 July 2016 - 12:02 AM
Hello I'm trying to make a computer return true if a MFFS rennet cable is white and powered. Ive done multiple google searchs and couldn't find any help, how exactly would I do this?
Code:

while true do
print (colors.test (redstone.getBundledInput("back"), colors.white))
sleep(1)
end
Screenshots: http://imgur.com/a/G7nGe
Bomb Bloke #2
Posted 11 July 2016 - 12:54 AM
Your code's "correct", but could be simplified at least a little:

while true do
  print (rs.testBundledInput("back" , colors.white))
  sleep(1)
end

If you stick a bit of redstone dust on the end of the cable (as opposed to a computer), does that light up to show the signal is being carried?

Depending on the exact builds of CC / MFR you're using, you may need to update one or the other or both.
SteveMC #3
Posted 11 July 2016 - 04:29 AM
Your code's "correct", but could be simplified at least a little:

while true do
  print (rs.testBundledInput("back" , colors.white))
  sleep(1)
end

If you stick a bit of redstone dust on the end of the cable (as opposed to a computer), does that light up to show the signal is being carried?

Depending on the exact builds of CC / MFR you're using, you may need to update one or the other or both.
I have the latest version of ComputerCraft and MFFS for 1.7.10, the computer still prints out false. Screenshots: http://imgur.com/a/h5GKv
moomoomoo3O9 #4
Posted 11 July 2016 - 01:55 PM
He meant update MFR (MineFactory Reloaded), not MFFS (Modular Force Field Systems), try updating MFR instead.
Edited on 11 July 2016 - 11:55 AM