This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
block:switch [2014/07/10 12:34] sangar |
block:switch [2015/11/14 03:06] tub_man [Switch] |
||
---|---|---|---|
Line 11: | Line 11: | ||
The Switch block also serves as a ComputerCraft peripheral, providing an interface imitating that of ComputerCraft's (wired) modems. It will forward network messages sent from ComputerCraft to the OpenComputers side, which can be received if a [[item:lan_card|network card]] is installed. It will also receive OpenComputers' network messages and push a corresponding signal in CC computers attached to the adapter. Note that network messages in OpenComputers do not require a "response port" like ComputerCraft does. If the first argument for the network message is a number, it will be interpreted as the response port to tell ComputerCraft receivers, otherwise the response port will be set to `-1`. | The Switch block also serves as a ComputerCraft peripheral, providing an interface imitating that of ComputerCraft's (wired) modems. It will forward network messages sent from ComputerCraft to the OpenComputers side, which can be received if a [[item:lan_card|network card]] is installed. It will also receive OpenComputers' network messages and push a corresponding signal in CC computers attached to the adapter. Note that network messages in OpenComputers do not require a "response port" like ComputerCraft does. If the first argument for the network message is a number, it will be interpreted as the response port to tell ComputerCraft receivers, otherwise the response port will be set to `-1`. | ||
*Note*: this functionality was available via the Adapter block before 1.1.0. | *Note*: this functionality was available via the Adapter block before 1.1.0. | ||
+ | |||
+ | The Switch is crafted using the following recipe: | ||
+ | * 3 x [[block:cable|Cable]] | ||
+ | * 4 x Iron Ingot | ||
+ | * 1 x [[item:network_card|Network Card]] | ||
+ | * 1 x [[item:materials|Printed Circuit Board]] | ||
+ | |||
+ | {{:recipes:blocks:switch.png?nolink&200|}} | ||
Contents | Contents | ||
----------- | ----------- | ||
{{page>block:contents&noheader&noeditbutton&nouser&nofooter}} | {{page>block:contents&noheader&noeditbutton&nouser&nofooter}} |