<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Expansion Board pin numbers vs LoPy pin numbers]]></title><description><![CDATA[<p dir="auto">Let me ask a naïve question, for which there is probably a very straightforward answer:</p>
<p dir="auto">Why is the pin numbering on the expansion board (beginning with 'G') completely different from the pin numbering on the LoPy (beginning with 'P')? The expansion board numbers also are not mentioned on the newly published Pin-Out overview.<br />
What am I missing?</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Jakko</p>
]]></description><link>https://forum.pycom.io/topic/242/expansion-board-pin-numbers-vs-lopy-pin-numbers</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 07:54:32 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/242.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Nov 2016 16:56:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Expansion Board pin numbers vs LoPy pin numbers on Fri, 11 Nov 2016 16:56:35 GMT]]></title><description><![CDATA[<p dir="auto">Let me ask a naïve question, for which there is probably a very straightforward answer:</p>
<p dir="auto">Why is the pin numbering on the expansion board (beginning with 'G') completely different from the pin numbering on the LoPy (beginning with 'P')? The expansion board numbers also are not mentioned on the newly published Pin-Out overview.<br />
What am I missing?</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Jakko</p>
]]></description><link>https://forum.pycom.io/post/1242</link><guid isPermaLink="true">https://forum.pycom.io/post/1242</guid><dc:creator><![CDATA[Jakko]]></dc:creator><pubDate>Fri, 11 Nov 2016 16:56:35 GMT</pubDate></item><item><title><![CDATA[Reply to Expansion Board pin numbers vs LoPy pin numbers on Fri, 11 Nov 2016 17:08:16 GMT]]></title><description><![CDATA[<p dir="auto">I'm assuming it was done to provide backwards compatibility for the WiPy1 expansion board.</p>
]]></description><link>https://forum.pycom.io/post/1244</link><guid isPermaLink="true">https://forum.pycom.io/post/1244</guid><dc:creator><![CDATA[Xykon]]></dc:creator><pubDate>Fri, 11 Nov 2016 17:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to Expansion Board pin numbers vs LoPy pin numbers on Fri, 11 Nov 2016 17:30:13 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Xykon, that makes sense.</p>
<p dir="auto">Is it then correct that both  Pin('Px', ......) and Pin('Gx', .......)   with x being the pin number, will be recognized by micropython?</p>
]]></description><link>https://forum.pycom.io/post/1245</link><guid isPermaLink="true">https://forum.pycom.io/post/1245</guid><dc:creator><![CDATA[Jakko]]></dc:creator><pubDate>Fri, 11 Nov 2016 17:30:13 GMT</pubDate></item><item><title><![CDATA[Reply to Expansion Board pin numbers vs LoPy pin numbers on Fri, 11 Nov 2016 17:34:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/299">@Jakko</a> Yes</p>
<pre><code>from machine import Pin
p_out=Pin('G23',mode=Pin.OUT)
p_out.id()
'P2'
</code></pre>
]]></description><link>https://forum.pycom.io/post/1246</link><guid isPermaLink="true">https://forum.pycom.io/post/1246</guid><dc:creator><![CDATA[Xykon]]></dc:creator><pubDate>Fri, 11 Nov 2016 17:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to Expansion Board pin numbers vs LoPy pin numbers on Sun, 13 Nov 2016 16:12:20 GMT]]></title><description><![CDATA[<p dir="auto">Yes, the G numbers are to match the WiPy 1 (version 2 uses ESP32 like the LoPy), and the WiPy 1 in turn got their order from the GPIO pin order on the CC3200 processor it uses. LoPy's support for the G numbering is fairly explicitly to keep the expansion board the same, as the P names are all under <code>machine.Pin.module</code> and the G names are under <code>machine.Pin.exp_board</code>. By the way, those locations hold preexisting instances of all the pins, so can be used to access the few that currently crash (like G3/P16). That's one bug I plan to chase down after source release.</p>
]]></description><link>https://forum.pycom.io/post/1306</link><guid isPermaLink="true">https://forum.pycom.io/post/1306</guid><dc:creator><![CDATA[LoneTech]]></dc:creator><pubDate>Sun, 13 Nov 2016 16:12:20 GMT</pubDate></item></channel></rss>