<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Some GPIO pins will not work after being set to outputs in Arduino IDE - ESP32 &amp; ESP8266				            </title>
            <link>https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 11 Jun 2026 20:19:44 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Some GPIO pins will not work after being set to outputs in Arduino IDE</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18262</link>
                        <pubDate>Fri, 30 Apr 2021 17:57:37 +0000</pubDate>
                        <description><![CDATA[Hi Bill,
Thank you for your help with this problem of mine, and others.
I checked Github but I could not find a driver/gpio.h zip file for the library, if you or some could 
direct me to ...]]></description>
                        <content:encoded><![CDATA[<p>Hi Bill,</p>
<p>Thank you for your help with this problem of mine, and others.</p>
<p>I checked Github but I could not find a <span>driver/gpio.h zip file for the library, if you or some could </span></p>
<p>direct me to the file I would really appreciate it.</p>
<p>Thanks very much, Dan</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>DanC</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18262</guid>
                    </item>
				                    <item>
                        <title>RE: Some GPIO pins will not work after being set to outputs in Arduino IDE</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18257</link>
                        <pubDate>Fri, 30 Apr 2021 08:53:12 +0000</pubDate>
                        <description><![CDATA[@danc  I&#039;ve done a little looking into this and believe I have found the answer.
The pins you quoted are by default set in JTAG debugging mode. In order to use them as regular GPIO pins for...]]></description>
                        <content:encoded><![CDATA[<p>@danc  I've done a little looking into this and believe I have found the answer.</p>
<p>The pins you quoted are by default set in <a href="https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/index.html" target="true">JTAG debugging</a> mode. In order to use them as regular GPIO pins for output, you need to change this.  You can do this by including the <a href="https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/gpio.html" target="true">GPIO library</a></p>
<p>A <a href="https://www.esp32.com/viewtopic.php?t=2687" target="true">thread on the Espressif ESP32 forum</a> discusses this in more detail.</p>
<p>😎</p>
<p>Bill</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>DroneBot Workshop</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18257</guid>
                    </item>
				                    <item>
                        <title>RE: Some GPIO pins will not work after being set to outputs in Arduino IDE</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18256</link>
                        <pubDate>Fri, 30 Apr 2021 01:39:16 +0000</pubDate>
                        <description><![CDATA[Thanks for your reply Bill.
I find it really strange that the same pins on three modules don&#039;t work as outputs, I haven&#039;t tried testing 
them as inputs yet.  Have you had any issues with t...]]></description>
                        <content:encoded><![CDATA[<p>Thanks for your reply Bill.</p>
<p>I find it really strange that the same pins on three modules don't work as outputs, I haven't tried testing </p>
<p>them as inputs yet.  Have you had any issues with the pins that I listed (except for 12). </p>
<p> </p>
<p>I really enjoy your videos and your website. I hope you will be able to do more with ESP32.</p>
<p> </p>
<p>Thanks again, Dan</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>DanC</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18256</guid>
                    </item>
				                    <item>
                        <title>RE: Some GPIO pins will not work after being set to outputs in Arduino IDE</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18253</link>
                        <pubDate>Thu, 29 Apr 2021 23:08:31 +0000</pubDate>
                        <description><![CDATA[@danc  I just want to clarify, the numbers you have provided for the pins are GPIO numbers and not physical pin numbers, correct?
If so then you do have a mystery. ESP32 GPIO pins 34, 35, 3...]]></description>
                        <content:encoded><![CDATA[<p>@danc  I just want to clarify, the numbers you have provided for the pins are GPIO numbers and not physical pin numbers, correct?</p>
<p>If so then you do have a mystery. ESP32 GPIO pins 34, 35, 36, and 39 are input-only, but among the pins you have listed the only GPIO pin that is restricted is GPIO 12 - and that pin is restricted for inputs, not outputs (if an input pulls it high the ESP32 will not boot).</p>
<p>Sparkfun confirms the above in their guide to the ESP32 Thing, but those GPIO pins don't map to the pins you described.</p>
<p>Sorry, hopefully, someone else can shed some light.</p>
<p>😎</p>
<p>Bill</p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>DroneBot Workshop</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18253</guid>
                    </item>
				                    <item>
                        <title>Some GPIO pins will not work after being set to outputs in Arduino IDE</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18250</link>
                        <pubDate>Thu, 29 Apr 2021 21:31:52 +0000</pubDate>
                        <description><![CDATA[Hi,
Some GPIO pins will not work after being set to outputs in Arduino IDE. Using Arduino IDE I made a simple 
program that would pulse all of the IOs that are supposed to be outputs, but ...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>Some GPIO pins will not work after being set to outputs in Arduino IDE. Using Arduino IDE I made a simple </p>
<p>program that would pulse all of the IOs that are supposed to be outputs, but on two LoLin32 modules and a</p>
<p>SparkFun Thing these pins would not work on all three boards: 12, 15, 17, 18 and 19.</p>
<p>In my code I set each pin as a BYTE LED1 = 0;, BYTE LED2 = 0; for all output pins</p>
<p>pinMode(LED1, 1); <span style="color: #808080">// I made one of these for each output so that they all switched on and off at the same</span> time</p>
<p>delay(10);</p>
<p>pinMode(LED1, 0);</p>
<p>delay(10);</p>
<p>Then I measured each pin with my scope. Most of the pins worked correctly, just the ones listed above</p>
<p>failed to provide a pulse.</p>
<p> </p>
<p>So, my question is how do I configure these pins to function as outputs using Arduino IDE.</p>
<p>Thanks for any help that you can provide, Dan</p>
<p>PS  I did use the proper board for the two types of modules.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>DanC</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/some-gpio-pins-will-not-work-after-being-set-to-outputs-in-arduino-ide/#post-18250</guid>
                    </item>
							        </channel>
        </rss>
		