Content deleted Content added
Not a resource |
Put a better description of the port's functions and added information about EthernetCables. |
||
Line 11: | Line 11: | ||
}} |
}} |
||
A device that allows [[Microcontroller|microcontrollers]] to acess parts in world, to connect to a part you must use the function [https://github.com/iimurpyh/pilot-lua/wiki/Microcontroller-Globals#part-getpartfromportint-port-string-parttype|<code>GetPartFromPort()</code>] and write the ID of the port and the part you wnat to get. Example: <code>GetPartFromPort(1, "Reactor")</code> |
|||
The port is mainly used by [[Microcontroller|microcontrollers]] for interactions with items. |
|||
The port can only access parts placed on its hole but [[EthernetCable]] can be used to access any part connected to the EthernetCable. |
|||
[[File:MicrocontrollerDiagram.png]] |
|||
=== In-game description === |
=== In-game description === |
||
{{#invoke:GetPartInfo|getField|Description}} |
{{#invoke:GetPartInfo|getField|Description}} |
||
== Configuration == |
|||
{{#invoke:GetPartInfo|getField|ConfigurationLarge}} |
|||
[[Category:Parts]] |
[[Category:Parts]] |