https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=MicroPython MicroPython - Revision history 2025-05-31T00:52:33Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.3 https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1273691266&oldid=prev Frap: /* Programming examples */ PEP-8 2025-02-03T15:12:21Z <p><span class="autocomment">Programming examples: </span> PEP-8</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:12, 3 February 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 250:</td> <td colspan="2" class="diff-lineno">Line 250:</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>[["Hello, World!" program|Hello world]] program:</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>[["Hello, World!" program|Hello world]] program:</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>&lt;syntaxhighlight lang="python"&gt;</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>&lt;syntaxhighlight lang="python"&gt;</div></td> </tr> <tr> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">print</del> to serial console</div></td> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">Print</ins> to serial console</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>print(<del style="font-weight: bold; text-decoration: none;">'</del>Hello, World!<del style="font-weight: bold; text-decoration: none;">'</del>)</div></td> <td class="diff-marker" data-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>print(<ins style="font-weight: bold; text-decoration: none;">"</ins>Hello, World!<ins style="font-weight: bold; text-decoration: none;">"</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;"><div>&lt;/syntaxhighlight&gt;</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>&lt;/syntaxhighlight&gt;</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;"><br /></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;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 259:</td> <td colspan="2" class="diff-lineno">Line 259:</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>import pyb</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>import pyb</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">turn</del> LED on</div></td> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">Turn</ins> LED on</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;"><br /></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;"><br /></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>pyb.LED(1).on()</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>pyb.LED(1).on()</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 268:</td> <td colspan="2" class="diff-lineno">Line 268:</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>import os</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>import os</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">open</del> and read a file</div></td> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">Open</ins> and read a file</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>with open(<del style="font-weight: bold; text-decoration: none;">'</del>/readme.txt<del style="font-weight: bold; text-decoration: none;">'</del>) as f:</div></td> <td class="diff-marker" data-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>with open(<ins style="font-weight: bold; text-decoration: none;">"</ins>/readme.txt<ins style="font-weight: bold; text-decoration: none;">"</ins>) as f:</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> print(f.read())</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> print(f.read())</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>&lt;/syntaxhighlight&gt;</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>&lt;/syntaxhighlight&gt;</div></td> </tr> <!-- diff cache key enwiki:diff:1.41:old-1273399757:rev-1273691266:wikidiff2=table:1.14.1:ff290eae --> </table> Frap https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1273399757&oldid=prev Okterakt: /* Pyboard */ link 2025-02-02T03:20:30Z <p><span class="autocomment">Pyboard: </span> link</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:20, 2 February 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 219:</td> <td colspan="2" class="diff-lineno">Line 219:</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>The pyboard is the official MicroPython microcontroller board which fully supports MicroPython's software features. The pyboard's hardware features include:&lt;ref name="MP-Website" /&gt;</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>The pyboard is the official MicroPython microcontroller board which fully supports MicroPython's software features. The pyboard's hardware features include:&lt;ref name="MP-Website" /&gt;</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>* microcontroller (MCU consisting of [[Central processing unit|CPU]], flash [[Read-only memory|ROM]] and [[Random-access memory|RAM]])</div></td> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">[[</ins>microcontroller<ins style="font-weight: bold; text-decoration: none;">]]</ins> (MCU consisting of [[Central processing unit|CPU]], flash [[Read-only memory|ROM]] and [[Random-access memory|RAM]])</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>* [[microUSB]] connector</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>* [[microUSB]] connector</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>* [[micro-SD]] card slot</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>* [[micro-SD]] card slot</div></td> </tr> </table> Okterakt https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1273399667&oldid=prev Okterakt: /* Pyboard */ links (mostly) 2025-02-02T03:19:58Z <p><span class="autocomment">Pyboard: </span> links (mostly)</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:19, 2 February 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 223:</td> <td colspan="2" class="diff-lineno">Line 223:</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>* [[micro-SD]] card slot</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>* [[micro-SD]] card slot</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>* IO pins</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>* IO pins</div></td> </tr> <tr> <td class="diff-marker" data-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>* [[switch]]es, [[LEDs]], servo ports, real time clock, [[accelerometer]]</div></td> <td class="diff-marker" data-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>* [[switch]]es, [[LEDs]], <ins style="font-weight: bold; text-decoration: none;">[[Servomotor|</ins>servo<ins style="font-weight: bold; text-decoration: none;">]]</ins> ports, <ins style="font-weight: bold; text-decoration: none;">[[Real-time clock|</ins>real time clock<ins style="font-weight: bold; text-decoration: none;">]]</ins>, [[accelerometer]]</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;"><br /></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;"><br /></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>==== The booting process ====</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>==== The booting process ====</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>The pyboard contains an internal drive <del style="font-weight: bold; text-decoration: none;">(</del>filesystem<del style="font-weight: bold; text-decoration: none;">)</del> named &lt;code&gt;/flash&lt;/code&gt; which is stored within the board's flash memory, additionally, a [[microSD]] card can be inserted into a slot and is accessible through &lt;code&gt;/sd&lt;/code&gt;. When booted up, a pyboard must select a filesystem to boot from either &lt;code&gt;/flash&lt;/code&gt; or &lt;code&gt;/sd&lt;/code&gt; with the current directory being set to either &lt;code&gt;/flash&lt;/code&gt; or &lt;code&gt;/sd&lt;/code&gt;. By default, if an SD card is inserted, &lt;code&gt;/sd&lt;/code&gt; will be used, if not, &lt;code&gt;/flash&lt;/code&gt; is used. If needed, the use of the SD card for the booting process can be avoided by creating an empty file called &lt;code&gt;/flash/SKIPSD&lt;/code&gt; which is stored on the board flash memory to skip the SD card for the booting process.&lt;ref name="MP-Website" /&gt;</div></td> <td class="diff-marker" data-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>The pyboard contains an internal drive <ins style="font-weight: bold; text-decoration: none;">with </ins>filesystem named &lt;code&gt;/flash&lt;/code&gt; which is stored within the board's flash memory, additionally, a [[microSD]] card can be inserted into a slot and is accessible through &lt;code&gt;/sd&lt;/code&gt;. When booted up, a pyboard must select a filesystem to boot from either &lt;code&gt;/flash&lt;/code&gt; or &lt;code&gt;/sd&lt;/code&gt; with the current directory being set to either &lt;code&gt;/flash&lt;/code&gt; or &lt;code&gt;/sd&lt;/code&gt;. By default, if an SD card is inserted, &lt;code&gt;/sd&lt;/code&gt; will be used, if not, &lt;code&gt;/flash&lt;/code&gt; is used. If needed, the use of the SD card for the booting process can be avoided by creating an empty file called &lt;code&gt;/flash/SKIPSD&lt;/code&gt; which is stored on the board flash memory to skip the SD card for the booting process.&lt;ref name="MP-Website" /&gt;</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;"><br /></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;"><br /></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>==== Boot modes ====</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>==== Boot modes ====</div></td> </tr> <!-- diff cache key enwiki:diff:1.41:old-1273399525:rev-1273399667:wikidiff2=table:1.14.1:ff290eae --> </table> Okterakt https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1273399525&oldid=prev Okterakt: /* The booting process */ formatting, clarify text 2025-02-02T03:19:04Z <p><span class="autocomment">The booting process: </span> formatting, clarify text</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:19, 2 February 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 227:</td> <td colspan="2" class="diff-lineno">Line 227:</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>==== The booting process ====</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>==== The booting process ====</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>The pyboard contains an internal drive (filesystem) named /flash which is stored within the board's flash memory, additionally, a [[microSD]] card can be inserted into a slot and is accessible through /sd. When booted up, a pyboard must select a filesystem to boot from either /flash or /sd with the current directory being set to either /flash or /sd. By default, if an SD card is inserted, /sd will be used, if not, /flash is used. If needed, the use of the SD card for the booting process can be avoided by creating an empty file called /flash/SKIPSD which <del style="font-weight: bold; text-decoration: none;">will</del> <del style="font-weight: bold; text-decoration: none;">remain</del> on the board <del style="font-weight: bold; text-decoration: none;">and</del> <del style="font-weight: bold; text-decoration: none;">exist</del> <del style="font-weight: bold; text-decoration: none;">when the pyboard is booted up and will</del> skip the SD card for the booting process.&lt;ref name="MP-Website" /&gt;</div></td> <td class="diff-marker" data-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>The pyboard contains an internal drive (filesystem) named <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/flash<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> which is stored within the board's flash memory, additionally, a [[microSD]] card can be inserted into a slot and is accessible through <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/sd<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>. When booted up, a pyboard must select a filesystem to boot from either <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/flash<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> or <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/sd<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> with the current directory being set to either <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/flash<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> or <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/sd<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>. By default, if an SD card is inserted, <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/sd<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> will be used, if not, <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/flash<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> is used. If needed, the use of the SD card for the booting process can be avoided by creating an empty file called <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>/flash/SKIPSD<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> which <ins style="font-weight: bold; text-decoration: none;">is</ins> <ins style="font-weight: bold; text-decoration: none;">stored</ins> on the board <ins style="font-weight: bold; text-decoration: none;">flash</ins> <ins style="font-weight: bold; text-decoration: none;">memory</ins> <ins style="font-weight: bold; text-decoration: none;">to</ins> skip the SD card for the booting process.&lt;ref name="MP-Website" /&gt;</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;"><br /></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;"><br /></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>==== Boot modes ====</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>==== Boot modes ====</div></td> </tr> <!-- diff cache key enwiki:diff:1.41:old-1273399283:rev-1273399525:wikidiff2=table:1.14.1:ff290eae --> </table> Okterakt https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1273399283&oldid=prev Okterakt: /* Pyboard */ microcontroller ''is'' MCU 2025-02-02T03:17:29Z <p><span class="autocomment">Pyboard: </span> microcontroller &#039;&#039;is&#039;&#039; MCU</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:17, 2 February 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 219:</td> <td colspan="2" class="diff-lineno">Line 219:</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>The pyboard is the official MicroPython microcontroller board which fully supports MicroPython's software features. The pyboard's hardware features include:&lt;ref name="MP-Website" /&gt;</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>The pyboard is the official MicroPython microcontroller board which fully supports MicroPython's software features. The pyboard's hardware features include:&lt;ref name="MP-Website" /&gt;</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>* microcontroller (MCU<del style="font-weight: bold; text-decoration: none;">,</del> [[Central processing unit|CPU]], flash [[Read-only memory|ROM]] and [[Random-access memory|RAM]])</div></td> <td class="diff-marker" data-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>* microcontroller (MCU<ins style="font-weight: bold; text-decoration: none;"> consisting of</ins> [[Central processing unit|CPU]], flash [[Read-only memory|ROM]] and [[Random-access memory|RAM]])</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>* [[microUSB]] connector</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>* [[microUSB]] connector</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>* [[micro-SD]] card slot</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>* [[micro-SD]] card slot</div></td> </tr> </table> Okterakt https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1273399171&oldid=prev Okterakt: /* Boot modes */ formatting 2025-02-02T03:16:50Z <p><span class="autocomment">Boot modes: </span> formatting</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:16, 2 February 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 238:</td> <td colspan="2" class="diff-lineno">Line 238:</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>* standard boot: green LED only (runs boot.py then python program)</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>* standard boot: green LED only (runs boot.py then python program)</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>* safe boot: orange LED only (does not run any scripts during boot-up)</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>* safe boot: orange LED only (does not run any scripts during boot-up)</div></td> </tr> <tr> <td class="diff-marker" data-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>* filesystem reset: green and orange LED together (resets flash drive to factory state and boots in safe mode)</div></td> <td class="diff-marker" data-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>* filesystem reset: green and orange LED together (resets flash drive to factory state and boots in safe mode)<ins style="font-weight: bold; text-decoration: none;"> – used as a fix when filesystem is corrupted</ins></div></td> </tr> <tr> <td class="diff-marker" data-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>* used as a fix when filesystem is corrupted</div></td> <td colspan="2" class="diff-empty diff-side-added"></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;"><br /></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;"><br /></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>==== Errors ====</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>==== Errors ====</div></td> </tr> </table> Okterakt https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1272444367&oldid=prev RJFJR: /* Programming examples */ move ref out of heading 2025-01-28T17:32:47Z <p><span class="autocomment">Programming examples: </span> move ref out of heading</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:32, 28 January 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 246:</td> <td colspan="2" class="diff-lineno">Line 246:</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>* if all 4 LEDs cycle on and off then there is a hard fault which cannot be recovered from and requires a hard reset.&lt;ref name="MP-Website" /&gt;</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>* if all 4 LEDs cycle on and off then there is a hard fault which cannot be recovered from and requires a hard reset.&lt;ref name="MP-Website" /&gt;</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>== Programming examples&lt;ref name=":2" /&gt;<del style="font-weight: bold; text-decoration: none;"> ==</del></div></td> <td class="diff-marker" data-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>== Programming examples<ins style="font-weight: bold; text-decoration: none;"> ==</ins></div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-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 style="font-weight: bold; text-decoration: none;">Source:</ins>&lt;ref name=":2" /&gt;</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;"><br /></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;"><br /></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>[["Hello, World!" program|Hello world]] program:</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>[["Hello, World!" program|Hello world]] program:</div></td> </tr> </table> RJFJR https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1263251339&oldid=prev Citation bot: Added date. | Use this bot. Report bugs. | Suggested by Dominic3203 | Category:Free software programmed in C | #UCB_Category 489/633 2024-12-15T16:01:00Z <p>Added date. | <a href="/wiki/Wikipedia:UCB" class="mw-redirect" title="Wikipedia:UCB">Use this bot</a>. <a href="/wiki/Wikipedia:DBUG" class="mw-redirect" title="Wikipedia:DBUG">Report bugs</a>. | Suggested by Dominic3203 | <a href="/wiki/Category:Free_software_programmed_in_C" title="Category:Free software programmed in C">Category:Free software programmed in C</a> | #UCB_Category 489/633</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:01, 15 December 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 25:</td> <td colspan="2" class="diff-lineno">Line 25:</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>[[File:Casio FX-9860G3.jpg|thumb|right|A Casio FX-9860GIII calculator which was introduced in 2020, and came with built-in MicroPython]]</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>[[File:Casio FX-9860G3.jpg|thumb|right|A Casio FX-9860GIII calculator which was introduced in 2020, and came with built-in MicroPython]]</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>MicroPython was originally created by the Australian programmer Damien George, after a successful [[Kickstarter]]-backed campaign in 2013.&lt;ref&gt;{{cite web|title=Micro Python: Python for microcontrollers|url=https://www.kickstarter.com/projects/214379695/micro-python-python-for-microcontrollers|website=Kickstarter|accessdate=15 December 2016}}&lt;/ref&gt; The original Kickstarter campaign released MicroPython with an [[STM32#STM32 F4|STM32F4]]-powered development board "pyboard". In the meantime MicroPython has been developed to support a number of [[ARM architecture|ARM]] based architectures.&lt;ref&gt;{{cite news|last1=Beningo|first1=Jacob|title=Prototype to production: MicroPython under the hood|url=http://www.edn.com/electronics-blogs/embedded-basics/4442357/Prototype-to-production---MicroPython-under-the-hood|accessdate=15 December 2016|publisher=EDN Network|date=11 July 2016}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-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>MicroPython was originally created by the Australian programmer Damien George, after a successful [[Kickstarter]]-backed campaign in 2013.&lt;ref&gt;{{cite web|title=Micro Python: Python for microcontrollers|url=https://www.kickstarter.com/projects/214379695/micro-python-python-for-microcontrollers|website=Kickstarter<ins style="font-weight: bold; text-decoration: none;">|date=26 February 2016 </ins>|accessdate=15 December 2016}}&lt;/ref&gt; The original Kickstarter campaign released MicroPython with an [[STM32#STM32 F4|STM32F4]]-powered development board "pyboard". In the meantime MicroPython has been developed to support a number of [[ARM architecture|ARM]] based architectures.&lt;ref&gt;{{cite news|last1=Beningo|first1=Jacob|title=Prototype to production: MicroPython under the hood|url=http://www.edn.com/electronics-blogs/embedded-basics/4442357/Prototype-to-production---MicroPython-under-the-hood|accessdate=15 December 2016|publisher=EDN Network|date=11 July 2016}}&lt;/ref&gt;</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>The ports supported in the mainline are ARM Cortex-M (many [[STM32]]&lt;ref&gt;{{Cite web |title=MicroPython on Nucleo STM32, STM32F411CE, and STM32F401CC: flashing firmware and basic tools |url=https://mischianti.org/micropython-on-nucleo-stm32-stm32f411ce-and-stm32f401cc-flashing-firmware-and-basic-tools/ |website=Mischianti|date=August 2023 }}&lt;/ref&gt;</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>The ports supported in the mainline are ARM Cortex-M (many [[STM32]]&lt;ref&gt;{{Cite web |title=MicroPython on Nucleo STM32, STM32F411CE, and STM32F401CC: flashing firmware and basic tools |url=https://mischianti.org/micropython-on-nucleo-stm32-stm32f411ce-and-stm32f401cc-flashing-firmware-and-basic-tools/ |website=Mischianti|date=August 2023 }}&lt;/ref&gt;</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>boards, [[RP2040]] boards, TI CC3200/WiPy, Teensy boards, Nordic nRF series, SAMD21 and SAMD51), [[ESP8266]], [[ESP32]],&lt;ref&gt;{{Cite web |title=MicroPython with esp8266 and esp32: flashing firmware and programming with basic tools |url=https://mischianti.org/micropython-with-esp8266-and-esp32-flashing-firmware-and-programming-with-basic-tools-1/ |website=Mischianti|date=7 June 2023 }}&lt;/ref&gt;</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>boards, [[RP2040]] boards, TI CC3200/WiPy, Teensy boards, Nordic nRF series, SAMD21 and SAMD51), [[ESP8266]], [[ESP32]],&lt;ref&gt;{{Cite web |title=MicroPython with esp8266 and esp32: flashing firmware and programming with basic tools |url=https://mischianti.org/micropython-with-esp8266-and-esp32-flashing-firmware-and-programming-with-basic-tools-1/ |website=Mischianti|date=7 June 2023 }}&lt;/ref&gt;</div></td> </tr> <!-- diff cache key enwiki:diff:1.41:old-1249186820:rev-1263251339:wikidiff2=table:1.14.1:ff290eae --> </table> Citation bot https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1249186820&oldid=prev 72.239.227.86: add one more 2024-10-03T17:32:57Z <p>add one more</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:32, 3 October 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 292:</td> <td colspan="2" class="diff-lineno">Line 292:</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>== See also == </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>== See also == </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>* [[Espruino]]</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>* [[Espruino]]</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-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>* [[CircuitPython]]</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;"><br /></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;"><br /></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>== References ==</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>== References ==</div></td> </tr> <!-- diff cache key enwiki:diff:1.41:old-1244803356:rev-1249186820:wikidiff2=table:1.14.1:ff290eae --> </table> 72.239.227.86 https://en.wikipedia.org/w/index.php?title=MicroPython&diff=1244803356&oldid=prev BjKa: /* History */ 2024-09-09T08:20:48Z <p><span class="autocomment">History</span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 08:20, 9 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 25:</td> <td colspan="2" class="diff-lineno">Line 25:</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>[[File:Casio FX-9860G3.jpg|thumb|right|A Casio FX-9860GIII calculator which was introduced in 2020, and came with built-in MicroPython]]</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>[[File:Casio FX-9860G3.jpg|thumb|right|A Casio FX-9860GIII calculator which was introduced in 2020, and came with built-in MicroPython]]</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;"><br /></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;"><br /></td> </tr> <tr> <td class="diff-marker" data-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>MicroPython was originally created by the Australian programmer Damien George, after a successful [[Kickstarter]]-backed campaign in 2013.&lt;ref&gt;{{cite web|title=Micro Python: Python for microcontrollers|url=https://www.kickstarter.com/projects/214379695/micro-python-python-for-microcontrollers|website=Kickstarter|accessdate=15 December 2016}}&lt;/ref&gt; <del style="font-weight: bold; text-decoration: none;">While the</del> original Kickstarter campaign released MicroPython with an [[STM32#STM32 F4|STM32F4]]-powered development board "pyboard"<del style="font-weight: bold; text-decoration: none;">,</del> MicroPython <del style="font-weight: bold; text-decoration: none;">supports</del> a number of [[ARM architecture|ARM]] based architectures.&lt;ref&gt;{{cite news|last1=Beningo|first1=Jacob|title=Prototype to production: MicroPython under the hood|url=http://www.edn.com/electronics-blogs/embedded-basics/4442357/Prototype-to-production---MicroPython-under-the-hood|accessdate=15 December 2016|publisher=EDN Network|date=11 July 2016}}&lt;/ref&gt;<del style="font-weight: bold; text-decoration: none;"> </del>The ports supported in the mainline are ARM Cortex-M (many [[STM32]]&lt;ref&gt;{{Cite web |title=MicroPython on Nucleo STM32, STM32F411CE, and STM32F401CC: flashing firmware and basic tools |url=https://mischianti.org/micropython-on-nucleo-stm32-stm32f411ce-and-stm32f401cc-flashing-firmware-and-basic-tools/ |website=Mischianti|date=August 2023 }}&lt;/ref&gt;<del style="font-weight: bold; text-decoration: none;"> </del>boards, [[RP2040]] boards, TI CC3200/WiPy, Teensy boards, Nordic nRF series, SAMD21 and SAMD51), [[ESP8266]], [[ESP32]],&lt;ref&gt;{{Cite web |title=MicroPython with esp8266 and esp32: flashing firmware and programming with basic tools |url=https://mischianti.org/micropython-with-esp8266-and-esp32-flashing-firmware-and-programming-with-basic-tools-1/ |website=Mischianti|date=7 June 2023 }}&lt;/ref&gt;<del style="font-weight: bold; text-decoration: none;"> </del>16-bit PIC, Unix, Windows, Zephyr, and JavaScript.&lt;ref&gt;{{cite web|last1=George|first1=Damien P.|title=micropython/ports at master · micropython/micropython|url=https://github.com/micropython/micropython/tree/master/ports|accessdate=22 October 2019|website=GitHub}}&lt;/ref&gt;<del style="font-weight: bold; text-decoration: none;"> </del>Also, there are many forks for a variety of systems and hardware platforms not supported in the mainline.&lt;ref&gt;{{cite web|last1=Sokolovsky|first1=Paul|title=Awesome MicroPython|url=https://github.com/pfalcon/awesome-micropython#forks-and-variants|accessdate=22 October 2019|website=GitHub}}&lt;/ref&gt;</div></td> <td class="diff-marker" data-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>MicroPython was originally created by the Australian programmer Damien George, after a successful [[Kickstarter]]-backed campaign in 2013.&lt;ref&gt;{{cite web|title=Micro Python: Python for microcontrollers|url=https://www.kickstarter.com/projects/214379695/micro-python-python-for-microcontrollers|website=Kickstarter|accessdate=15 December 2016}}&lt;/ref&gt; <ins style="font-weight: bold; text-decoration: none;">The</ins> original Kickstarter campaign released MicroPython with an [[STM32#STM32 F4|STM32F4]]-powered development board "pyboard"<ins style="font-weight: bold; text-decoration: none;">. In the meantime</ins> MicroPython <ins style="font-weight: bold; text-decoration: none;">has been developed to support</ins> a number of [[ARM architecture|ARM]] based architectures.&lt;ref&gt;{{cite news|last1=Beningo|first1=Jacob|title=Prototype to production: MicroPython under the hood|url=http://www.edn.com/electronics-blogs/embedded-basics/4442357/Prototype-to-production---MicroPython-under-the-hood|accessdate=15 December 2016|publisher=EDN Network|date=11 July 2016}}&lt;/ref&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-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>The ports supported in the mainline are ARM Cortex-M (many [[STM32]]&lt;ref&gt;{{Cite web |title=MicroPython on Nucleo STM32, STM32F411CE, and STM32F401CC: flashing firmware and basic tools |url=https://mischianti.org/micropython-on-nucleo-stm32-stm32f411ce-and-stm32f401cc-flashing-firmware-and-basic-tools/ |website=Mischianti|date=August 2023 }}&lt;/ref&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-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>boards, [[RP2040]] boards, TI CC3200/WiPy, Teensy boards, Nordic nRF series, SAMD21 and SAMD51), [[ESP8266]], [[ESP32]],&lt;ref&gt;{{Cite web |title=MicroPython with esp8266 and esp32: flashing firmware and programming with basic tools |url=https://mischianti.org/micropython-with-esp8266-and-esp32-flashing-firmware-and-programming-with-basic-tools-1/ |website=Mischianti|date=7 June 2023 }}&lt;/ref&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-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>16-bit PIC, Unix, Windows, Zephyr, and JavaScript.&lt;ref&gt;{{cite web|last1=George|first1=Damien P.|title=micropython/ports at master · micropython/micropython|url=https://github.com/micropython/micropython/tree/master/ports|accessdate=22 October 2019|website=GitHub}}&lt;/ref&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-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>Also, there are many forks for a variety of systems and hardware platforms not supported in the mainline.&lt;ref&gt;{{cite web|last1=Sokolovsky|first1=Paul|title=Awesome MicroPython|url=https://github.com/pfalcon/awesome-micropython#forks-and-variants|accessdate=22 October 2019|website=GitHub}}&lt;/ref&gt;</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;"><br /></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;"><br /></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>In 2016, a version of MicroPython for the [[BBC]] [[Micro Bit]] was created as part of the [[Python Software Foundation]]'s contribution to the Micro Bit partnership with the BBC.&lt;ref&gt;{{cite web|last1=Williams|first1=Alun|title=Hands on with the BBC Micro-Bit user interface|url=http://www.electronicsweekly.com/news/design/embedded-systems/video-bbc-micro-bit-user-interface-2015-07/|website=ElectronicsWeekly.com|date=7 July 2015|accessdate=8 July 2015}}&lt;/ref&gt;</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>In 2016, a version of MicroPython for the [[BBC]] [[Micro Bit]] was created as part of the [[Python Software Foundation]]'s contribution to the Micro Bit partnership with the BBC.&lt;ref&gt;{{cite web|last1=Williams|first1=Alun|title=Hands on with the BBC Micro-Bit user interface|url=http://www.electronicsweekly.com/news/design/embedded-systems/video-bbc-micro-bit-user-interface-2015-07/|website=ElectronicsWeekly.com|date=7 July 2015|accessdate=8 July 2015}}&lt;/ref&gt;</div></td> </tr> <!-- diff cache key enwiki:diff:1.41:old-1232119077:rev-1244803356:wikidiff2=table:1.14.1:ff290eae --> </table> BjKa