https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-beginSD&feed=atom&action=history
RB-ARD-ROBOT-Func-beginSD - Historique des versions
2024-03-29T08:50:08Z
Historique des révisions pour cette page sur le wiki
MediaWiki 1.35.0
https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-beginSD&diff=7418&oldid=prev
Admin : /* Exemple */
2013-09-17T13:11:11Z
<p><span dir="auto"><span class="autocomment">Exemple</span></span></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fr">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version du 17 septembre 2013 à 13:11</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l29" >Ligne 29 :</td>
<td colspan="2" class="diff-lineno">Ligne 29 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Robot.begin();</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Robot.begin();</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Robot.readyTFT();</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Robot.readyTFT();</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Robot.beginSD();//<del class="diffchange diffchange-inline">Initialize the sd card</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Robot.beginSD(); // <ins class="diffchange diffchange-inline">Initialise la carte SD</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Robot.drawBMP("inicio.bmp",0,0);//<del class="diffchange diffchange-inline">draw an </del>image <del class="diffchange diffchange-inline">from the sd card</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Robot.drawBMP("inicio.bmp",0,0); // <ins class="diffchange diffchange-inline">Affiche une </ins>image <ins class="diffchange diffchange-inline">provenant de la carte SD</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}</div></td></tr>
</table>
Admin
https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-beginSD&diff=7417&oldid=prev
Admin : /* Description */
2013-09-17T13:10:16Z
<p><span dir="auto"><span class="autocomment">Description</span></span></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fr">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version du 17 septembre 2013 à 13:10</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l6" >Ligne 6 :</td>
<td colspan="2" class="diff-lineno">Ligne 6 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Classe [[Arduino Robot-Librairie#Classe_RobotControl|RobotControl]], librairie d'[[Arduino Robot-Librairie|Arduino Robot]].</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Classe [[Arduino Robot-Librairie#Classe_RobotControl|RobotControl]], librairie d'[[Arduino Robot-Librairie|Arduino Robot]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">Initialize the </del>SD <del class="diffchange diffchange-inline">card for use</del>. <del class="diffchange diffchange-inline">Functions that read data from a </del>SD <del class="diffchange diffchange-inline">card like </del>drawBMP() and playFile() <del class="diffchange diffchange-inline">are dependent on this</del>.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">initialise la carte </ins>SD <ins class="diffchange diffchange-inline">pour une utilisation future</ins>. <ins class="diffchange diffchange-inline">Les fonctions qui lisent des données sur la carte </ins>SD <ins class="diffchange diffchange-inline">sont </ins>drawBMP() and playFile()<ins class="diffchange diffchange-inline">, elles dépendent donc de l'appel de beginSD</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>NB : <del class="diffchange diffchange-inline">This function uses a lot of memory, and may leads to undefined results if used in a complex </del>sketch. <del class="diffchange diffchange-inline">It</del>'<del class="diffchange diffchange-inline">s recommended to not use this unless you are using the SD card</del>. </div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">''</ins>NB : <ins class="diffchange diffchange-inline">Cette fonction utilise beaucoup de mémoire et peut produire des résultats inattendu (surcharge de mémoire) ssi vous avez un </ins>sketch<ins class="diffchange diffchange-inline">/croquis vraiment complexe)</ins>. <ins class="diffchange diffchange-inline">Il es recommander de ne pas initialiser la carte SD si vous n'en avez pas besoin'</ins>'.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Syntaxe ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Syntaxe ==</div></td></tr>
</table>
Admin
https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-beginSD&diff=7416&oldid=prev
Admin : Page créée avec « {{Arduino-Robot-NAV}} <h4>beginSD()</h4> == Description == Classe RobotControl, librairie d'[[Arduino Robot-Librairie|Arduin... »
2013-09-17T13:05:48Z
<p>Page créée avec « {{Arduino-Robot-NAV}} <h4>beginSD()</h4> == Description == Classe <a href="/index.php?title=Arduino_Robot-Librairie#Classe_RobotControl" title="Arduino Robot-Librairie">RobotControl</a>, librairie d'[[Arduino Robot-Librairie|Arduin... »</p>
<p><b>Nouvelle page</b></p><div>{{Arduino-Robot-NAV}}<br />
<br />
<h4>beginSD()</h4><br />
<br />
== Description ==<br />
Classe [[Arduino Robot-Librairie#Classe_RobotControl|RobotControl]], librairie d'[[Arduino Robot-Librairie|Arduino Robot]].<br />
<br />
Initialize the SD card for use. Functions that read data from a SD card like drawBMP() and playFile() are dependent on this.<br />
<br />
NB : This function uses a lot of memory, and may leads to undefined results if used in a complex sketch. It's recommended to not use this unless you are using the SD card. <br />
<br />
== Syntaxe ==<br />
<br />
Robot.beginSD();<br />
<br />
== Paramètres ==<br />
<br />
aucun<br />
<br />
== Résultat ==<br />
<br />
aucun<br />
<br />
== Exemple ==<br />
<br />
<nowiki>#include <ArduinoRobot.h><br />
<br />
void setup(){<br />
Robot.begin();<br />
Robot.readyTFT();<br />
Robot.beginSD();//Initialize the sd card<br />
<br />
Robot.drawBMP("inicio.bmp",0,0);//draw an image from the sd card<br />
<br />
}<br />
<br />
void loop(){<br />
}</nowiki><br />
<br />
== Voir aussi ==<br />
* [[RB-ARD-ROBOT-Func-drawBMP|drawBMP()]]<br />
* [[RB-ARD-ROBOT-Func-playFile|playFile()]]<br />
<br />
{{Arduino-Robot-TRAILER}}</div>
Admin