Commit 750dce17 authored by Zavoral Filip RNDr. Ph.D.'s avatar Zavoral Filip RNDr. Ph.D.
Browse files

init emulator

parent 89573036
......@@ -399,6 +399,14 @@ $(document).ready(function(){
<td><code>class Foo { static void foo() ... }</code></td>
<td>Static methods do not work in ReCodEx, use plain old C functions instead.</td>
</tr>
<tr>
<td>Initialization</td>
<td><code>class Button { </code><br>
<code> Button() { pinMode( b[0], INPUT); } </code><br>
<code>};</code></td>
<td>Emulator (Arduino) initilization (e.g., pinMode) <b>MUST</b> be called in setup.
Early emulator initialization (e.g., in a constructor of a global object) causes a signal and your program is terminated.</td>
</tr>
</table>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment