<?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>
									Help with measuring frequency with an ESP32 - ESP32 &amp; ESP8266				            </title>
            <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 11 Oct 2026 18:14:29 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50313</link>
                        <pubDate>Tue, 31 Dec 2024 18:38:27 +0000</pubDate>
                        <description><![CDATA[Can @dronebot-workshop lock this thread? The original problem was answered.]]></description>
                        <content:encoded><![CDATA[<p>Can @dronebot-workshop lock this thread? The original problem was answered.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>YurkshireLad</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50313</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50312</link>
                        <pubDate>Tue, 31 Dec 2024 18:17:48 +0000</pubDate>
                        <description><![CDATA[@zander 

&#x1f600; That&#039;s funny, Ron!  Let&#039;s leave my buttons alone, though. It&#039;s taken my years to tune them to just the right &quot;hair trigger&quot; touch. And 20 days is much too long.  I&#039;ll j...]]></description>
                        <content:encoded><![CDATA[<p>@zander </p>
<p></p>
<p>Do we need to de-bounce those buttons? Or just wait another 20 days and none of these problems will matter anymore.</p>
<p></p>
<p>&#x1f600; That's funny, Ron!  Let's leave my buttons alone, though. It's taken my years to tune them to just the right "hair trigger" touch. And 20 days is much too long.  I'll just sit down quietly and curse for 20 minutes to get it out of my system. Well, maybe an hour. Ok, a day, but no more.</p>
<p></p>
<p>I really fear for my US friends and acquaintances...</p>
<p></p>
<p>We're a bit on edge, aren't we? But we probably shouldn't pick at this.</p>
<p></p>
<p>Remember we have a lot of vacant land here in Canada,..</p>
<p></p>
<p>Again, we're back in Canada! And I'll say you have "a lot of vacant land". You got half the continent!</p>
<p>OK, I've got to get back to my cursing...</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>TFMcCarthy</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50312</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50311</link>
                        <pubDate>Tue, 31 Dec 2024 15:45:30 +0000</pubDate>
                        <description><![CDATA[@tfmccarthy Do we need to de-bounce those buttons? Or just wait another 20 days and none of these problems will matter anymore.
I really fear for my US friends and acquaintances especially ...]]></description>
                        <content:encoded><![CDATA[<p>@tfmccarthy Do we need to de-bounce those buttons? Or just wait another 20 days and none of these problems will matter anymore.</p>
<p>I really fear for my US friends and acquaintances especially the brown skinned ones. Remember we have a lot of vacant land here in Canada, but bring a winter tent because we have no where to live and if you do find something it will cost a minimum of $2,500 / month and rising. One thing I need to point out, our right wing party the CPC is likely going to be elected this spring to a record majority. The good news is so far they are still more like your Democrats than your GOP, but watch out for a move to a Theocracy.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50311</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50310</link>
                        <pubDate>Tue, 31 Dec 2024 13:59:57 +0000</pubDate>
                        <description><![CDATA[Yeah, you pressed my buttons.
I&#039;ll get over it.]]></description>
                        <content:encoded><![CDATA[<p></p>
<p>As you know I am autistic so sometimes my language is too direct for neurotypical folks.</p>
<p></p>
<p>Yeah, you pressed my buttons.</p>
<p>I'll get over it.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>TFMcCarthy</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50310</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50309</link>
                        <pubDate>Tue, 31 Dec 2024 08:15:19 +0000</pubDate>
                        <description><![CDATA[@robotbuilder Thank you for being aware. The internet makes it much worse since there are no visual clues like facial expressions and body language. Another issue I suffer from a lot is I of...]]></description>
                        <content:encoded><![CDATA[<p>@robotbuilder Thank you for being aware. The internet makes it much worse since there are no visual clues like facial expressions and body language. Another issue I suffer from a lot is I often use the wrong technical words. In person with people who know me automatic adjustments are made often without them even being that aware.</p>
<p>I often speak with a certain fellow here who is very knowledgeable but from behind the keyboard he is not able to make that translation. Of course the problem is mine, he is not to be faulted for not being able to translate. </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50309</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50308</link>
                        <pubDate>Tue, 31 Dec 2024 05:04:11 +0000</pubDate>
                        <description><![CDATA[@zander

@tfmccarthy As you know I am autistic so sometimes my language is too direct for neurotypical folks.

I am personally very familiar with the social difficulties those on the aut...]]></description>
                        <content:encoded><![CDATA[<p>@zander<br /><br /></p>
<blockquote>
<p>@tfmccarthy As you know I am autistic so sometimes my language is too direct for neurotypical folks.</p>
</blockquote>
<p><br />I am personally very familiar with the social difficulties those on the autism spectrum face every day. Unfortunately there is very little understanding or tolerance by neurotypical people who really don't appreciate or care about the difficulty someone on the autistic spectrum has with neurotypical social discourse and mistakenly think they are deliberately being rude or offensive.</p>
<p>Anyone who can be bothered might google "Love on the Spectrum".</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>robotBuilder</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/paged/2/#post-50308</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50307</link>
                        <pubDate>Tue, 31 Dec 2024 04:10:04 +0000</pubDate>
                        <description><![CDATA[@tfmccarthy As you know I am autistic so sometimes my language is too direct for neurotypical folks.
You have been here since July, that to me is recent. Not sure how that is off base thoug...]]></description>
                        <content:encoded><![CDATA[<p>@tfmccarthy As you know I am autistic so sometimes my language is too direct for neurotypical folks.</p>
<p>You have been here since July, that to me is recent. Not sure how that is off base though, is it like not asking a lady of a certain age her age?</p>
<p>Wow I just saw the definition of <span>condescension. Sorry you feel that way, I am just trying to be informative but I do understand that due to my ASD, I can come across as different from most people.</span></p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50307</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50306</link>
                        <pubDate>Tue, 31 Dec 2024 03:50:10 +0000</pubDate>
                        <description><![CDATA[@zander 
To be plain. I don&#039;t appreciate this sort of condescension.
You&#039;re way off base.]]></description>
                        <content:encoded><![CDATA[@zander 
<p>You are new and probably unaware of ...</p>

<p>To be plain. I don't appreciate this sort of condescension.</p>
<p>You're way off base.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>TFMcCarthy</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50306</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50305</link>
                        <pubDate>Tue, 31 Dec 2024 03:25:11 +0000</pubDate>
                        <description><![CDATA[@tfmccarthy I thought I also mentioned that but perhaps not as it seems contradictory. I did say this but to be 100% honest the words and example seemed to be in conflict but I left it as is...]]></description>
                        <content:encoded><![CDATA[<p>@tfmccarthy I thought I also mentioned that but perhaps not as it seems contradictory. I did say this but to be 100% honest the words and example seemed to be in conflict but I left it as is</p>
<blockquote>
<p class="p1">If you don’t want to worry about the order, you can initialize the structure without designators: as in </p>
<p>pcnt_config_t config = {0, 1, 2}; // Fields initialized in order</p>
</blockquote>
<p>Not important to be first, but it is important that if you are going to respond that you read the entire thread. You are new and probably unaware of some of the wasted effort that results from incomplete participation.</p>
<p>No, I was not first, as I said, @<span>yurkshirelad was the first to point in the right direction, I simply added a little bit to it.</span></p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50305</guid>
                    </item>
				                    <item>
                        <title>RE: Help with measuring frequency with an ESP32</title>
                        <link>https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50304</link>
                        <pubDate>Tue, 31 Dec 2024 03:15:31 +0000</pubDate>
                        <description><![CDATA[@zander 
That&#039;s all very interesting, except, it was inaccurate.
You don&#039;t have to use the declaration order. You can specify the members out of order. Did you miss my link to the referenc...]]></description>
                        <content:encoded><![CDATA[@zander 
<p>Are you going to be another Dave and not read ALL the posts in a topic? I already delivered the information and I was preceded by @<span>yurkshirelad who was the first to make a good guess at what the issue was.</span></p>

<p>That's all very interesting, except, it was inaccurate.</p>
<p>You don't have to use the declaration order. You can specify the members out of order. Did you miss my link to the reference for this with example?</p>
<p>The smallest change should be to move last member name to the end of the initializer list.</p>
<pre contenteditable="false">pcnt_config_t pcnt_config = {
	.pulse_gpio_num = FREQ_INPUT_PIN,
	.ctrl_gpio_num = PCNT_PIN_NOT_USED,
	.unit = PCNT_UNIT,
	.pos_mode = PCNT_COUNT_INC,    // Count rising edges
	.neg_mode = PCNT_COUNT_DIS,    // Do not count falling edges
	.lctrl_mode = PCNT_MODE_KEEP,  // Control signal is not used
	.hctrl_mode = PCNT_MODE_KEEP,  // Control signal is not used
	.counter_h_lim = INT16_MAX,    // Set high limit
	.counter_l_lim = 0 ,            // Set low limit
	.channel = PCNT_CHANNEL
};</pre>
<p>However, as <span>@robotbuilder noted in his ChatGPT interaction, there may be compiler restrictions, which i described as an "edge condition."</span></p>
<p>There's more than one answer to this.</p>
<p>Is it really so important to be the first to make a good guess?</p>
<p>Fine, You guessed first.</p>
<p>But I think now we have the full story.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/esp32-esp8266/">ESP32 &amp; ESP8266</category>                        <dc:creator>TFMcCarthy</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/esp32-esp8266/help-with-measuring-frequency-with-an-esp32/#post-50304</guid>
                    </item>
							        </channel>
        </rss>
		