This is the component provided by the Microcontroller Case.
These callbacks can only be called by the microcontroller itself, or its direct neighbors (i.e. other computers that share a face with the microcontroller). Note that since microcontrollers cannot access external components they cannot interact with each others microcontroller components, but a computer can access a neighbouring microcontroller.
Component name: microcontroller
.
Callbacks:
setSideOpen(side: number, open: boolean): boolean
start(): boolean
isRunning(): boolean
isSideOpen(side: number): boolean
Get whether network messages are sent via the specified side.lastError(): string
Returns the reason the microcontroller crashed, if applicable. Returns nil if no crash has occurred.stop(): boolean
Stops the microcontroller. Returns true if the state changed.Components | 3D Printer - Abstract Bus - Access Point - Chunkloader - Computer - Crafting - Data Card - Database - Debug - Drone - Drive - EEPROM - Experience - Filesystem - Generator - Geolyzer - GPU - Hologram - Internet - Inventory Controller - Leash - Microcontroller - Modem - Motion Sensor - Navigation - Net Splitter - Piston - Redstone - Redstone in Motion - Robot - Screen - Sign - Tank Controller - Tractor Beam - Transposer - Tunnel - World Sensor | |
---|---|---|
Others | Component Access - Signals | |
Cross-Mod Integration | Applied Energistics |