Content deleted Content added
m Minor change |
mNo edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1:
{{Object
|title1 = {{PAGENAME}}
|image1 =
|type = {{#invoke:GetPartInfo|getField|Type}}
|malleability={{#invoke:GetPartInfo|getField|Malleability}}▼
|durability={{#invoke:GetPartInfo|getField|Durability}}▼
|flammable={{#invoke:GetPartInfo|getField|Flammable}}▼
|recipe={{#invoke:GetPartInfo|getField|Recipe}}
|raw_recipe={{#invoke:GetPartInfo|getField|Raw recipe}}
|configuration={{#invoke:GetPartInfo|getField|Configuration}}
|consumes=[[Power]]
▲|malleability={{#invoke:GetPartInfo|getField|Malleability}}
|default_size={{#invoke:GetPartInfo|getField|DefaultSize}}
▲|durability={{#invoke:GetPartInfo|getField|Durability}}
|default_colour={{#invoke:GetPartInfo|getField|DefaultColor}}
▲|flammable={{#invoke:GetPartInfo|getField|Flammable}}
}}
The '''microcontroller''' is a part used to run code. When activated with a [[polysilicon]], it will attempt to run its configured code value. Microcontrollers run on Pilot.lua, which is basically just normal rbx.lua with a few things added to interact with the game. Visit the [[Programming]] page for more info. Below is a diagram explaining how to place [[Port|ports]] and [[EthernetCable|ethernet cables]] for use with a microcontroller.
[[File:MicrocontrollerDiagram.png|caption]]
== Microcontroller related parts ==
Line 30 ⟶ 32:
* [[StarMap]]
* [[Telescope]]
== Microcontroller globals ==
Line 81:
Keyboard:Connect("TextInputted", FuncName) --runs the function when keyboard gets input </nowiki> </code>
==Pilot.lua Wiki==
For more information about microntroller coding refer to this: https://github.com/iimurpyh/pilot-lua/wiki
==In-game Description==
|