<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ocr.michiyo.me/w/index.php?action=history&amp;feed=atom&amp;title=Component%2Fmicrocontroller</id>
	<title>Component/microcontroller - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ocr.michiyo.me/w/index.php?action=history&amp;feed=atom&amp;title=Component%2Fmicrocontroller"/>
	<link rel="alternate" type="text/html" href="https://ocr.michiyo.me/w/index.php?title=Component/microcontroller&amp;action=history"/>
	<updated>2026-08-24T13:45:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://ocr.michiyo.me/w/index.php?title=Component/microcontroller&amp;diff=1180&amp;oldid=prev</id>
		<title>imported&gt;OCDoc Import: Imported from legacy OpenComputers documentation at ocdoc.cil.li</title>
		<link rel="alternate" type="text/html" href="https://ocr.michiyo.me/w/index.php?title=Component/microcontroller&amp;diff=1180&amp;oldid=prev"/>
		<updated>2026-08-24T08:08:27Z</updated>

		<summary type="html">&lt;p&gt;Imported from legacy OpenComputers documentation at ocdoc.cil.li&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Component: Microcontroller =&lt;br /&gt;
&lt;br /&gt;
This is the component provided by the [[Block/microcontroller|Microcontroller Case]].&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Component name: `microcontroller`. Callbacks:&lt;br /&gt;
&lt;br /&gt;
* `setSideOpen(side: number, open: boolean): boolean`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Set whether network messages are sent via the specified side.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `start(): boolean`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Starts the microcontroller. Returns true if the state changed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `isRunning(): boolean`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Returns whether the microcontroller is running.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `isSideOpen(side: number): boolean`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Get whether network messages are sent via the specified side.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `lastError(): string`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Returns the reason the microcontroller crashed, if applicable. Returns nil if no crash has occurred.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `stop(): boolean`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Stops the microcontroller. Returns true if the state changed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{:Component/contents}}&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;OCDoc Import</name></author>
	</entry>
</feed>