This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
block:microcontroller [2015/06/10 01:33] rashy |
block:microcontroller [2015/06/10 01:34] rashy |
||
---|---|---|---|
Line 6: | Line 6: | ||
Microcontrollers can be built by placing a [[item:microcontrollercase|Microcontroller case]] in an [[block:assembler|Assembler]]. Higher tier [[item:microcontrollercase|Microcontroller cases]] can take more components and upgrades (as well as higher tier components and upgrades). Microcontrollers take a limited subset of upgrades, and do not contain Upgrade or Card container slots. [[item:graphics_card|Graphics cards]] cannot be placed into the expansion slots either. | Microcontrollers can be built by placing a [[item:microcontrollercase|Microcontroller case]] in an [[block:assembler|Assembler]]. Higher tier [[item:microcontrollercase|Microcontroller cases]] can take more components and upgrades (as well as higher tier components and upgrades). Microcontrollers take a limited subset of upgrades, and do not contain Upgrade or Card container slots. [[item:graphics_card|Graphics cards]] cannot be placed into the expansion slots either. | ||
- | The following code snippet illustrates one particular usage of Microcontrollers. The program detects redstone signals (requires a [[item:redstone_card|redstone card]], and uses a [[item:piston_upgrade|piston upgrade]] to push a block. | + | The following code snippet illustrates one particular usage of Microcontrollers. The program detects redstone signals (requires a [[item:redstone_card|redstone card]]), and uses a [[item:piston_upgrade|piston upgrade]] to push a block. |
```lua | ```lua | ||
local r,p = component.proxy(component.list("redstone")()), component.proxy(component.list("piston")()) | local r,p = component.proxy(component.list("redstone")()), component.proxy(component.list("piston")()) |