old Interface Box - latibro/Automation-Mod GitHub Wiki
Interface Box is the core block of this mod, that gives you access to the API's exposed by the mod.
You will place the Interface Box block down and connect it to a computer
Access from computer mods
In general API's works the same from any computer mod, the difference may lay in how to obtain the root API called "Interface Box"
ComputerCraft
In ComputerCraft the Interface Box will be accessable as a Peripheral
local interfaceBox = peripheral.find("interface_box")
The Interface Box may be connected by placing it directly next to a computer, or connected though cables using the modem.
OpenComputers
In OC the Interface Box will be accessable as a Component
local component = require("component")
local interfaceBox = component.getPrimary("interface_box")
Or using the shortcut
local component = require("component")
local interfaceBox = component.interface_box
The Interface Box may be connected by placing it directly next to a computer, or connected though cables