<divclass="textblock"><p>For user interaction, ChameleonMini provides two configurable push buttons, i.e., LBUTTON on the left side and RBUTTON on the right side of Chameleon. Chameleon distinguishes between</p><oltype="1">
<li>a short (< ~1.28 s) press of the button and</li>
<li>a long (≥ ~1.28 s) press of the button.</li>
</ol>
<p>Thus, there are four different commands for configuring the buttons:</p><oltype="1">
<li><code>LBUTTON</code></li>
<li><code>RBUTTON</code></li>
<li><code>LBUTTON_LONG</code></li>
<li><code>RBUTTON_LONG</code></li>
</ol>
<p>Each of these commands can be used in the getting ("?"), setting ("=") and suggesting ("=?") version.</p>
<h1>Supported Configurations </h1>
<p>The following table describes all currently implemented options for the button configuration. </p><tableclass="doxtable">
<tr>
<th>Configuration name </th><th>Description </th></tr>
<tr>
<td><code>NONE</code></td><td>No function, the button is disabled </td></tr>
<tr>
<td><code>UID_RANDOM</code></td><td>Sets a random UID for the current card slot. </td></tr>
<tr>
<td><code>UID_LEFT_INCREMENT</code></td><td>Increments the UID for the current card slot. The UID is interpreted as little-endian. </td></tr>
<tr>
<td><code>UID_RIGHT_INCREMENT</code></td><td>Increments the UID for the current card slot. The UID is interpreted as big-endian. </td></tr>
<tr>
<td><code>UID_LEFT_DECREMENT</code></td><td>Decrements the UID for the current card slot. The UID is interpreted as little-endian. </td></tr>
<tr>
<td><code>UID_RIGHT_DECREMENT</code></td><td>Decrements the UID for the current card slot. The UID is interpreted as big-endian. </td></tr>
<tr>
<td><code>CYCLE_SETTINGS</code></td><td>Cycles through the slots/settings. If the configuration of a slot is set to <code>NONE</code>, this slot is skipped. When the last slot is reached, the next button press selects the first slot, again. </td></tr>
<tr>
<td><code>STORE_MEM</code></td><td>Stores the current setting into the permanent Flash memory. Equivalent to the <code>STORE</code> command. </td></tr>
<tr>
<td><code>RECALL_MEM</code></td><td>Recalls a setting from the permanent Flash memory. Equivalent to the <code>RECALL</code> command. </td></tr>
<tr>
<td><code>TOGGLE_FIELD</code></td><td>Activates the reader field if it was deactivated, deactivates the reader field if it was activated. </td></tr>
<tr>
<td><code>STORE_LOG</code></td><td>Writes the current log from SRAM to FRAM and clears the SRAM log. Equivalent to the <code>STORE_LOG</code> command. </td></tr>
</table>
<p>Note the UID commands have no effect when the slot is configured as reader. </p>