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

Redpower Bundled Cables Usage

Started by legomaniack, 06 February 2012 - 11:01 PM
legomaniack #1
Posted 07 February 2012 - 12:01 AM
I'm trying to make a simple code to check into a bundled cable, if the in put is on, turn it off and vice versa. The thing is, if i have lots of programs like this, i need them not to interfere.

Can i please have a basic code idea, or even just more in-depth usage examples then whats under help redpower.

THX!

My current code is attached, it says "attempted to call nil" when i run it.
Espen #2
Posted 07 February 2012 - 12:19 AM
You have a typo in your code.
The second to last line has "budledOutput". It's missing the 'n'.

Every time you receive "attempted to call nil" it's good practice to check if you've mistyped a function name somewhere. :P/>/>