<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>confused about example code: Lesson2 exercise 1 of nRF Connect SDK Fundamentals</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110718/confused-about-example-code-lesson2-exercise-1-of-nrf-connect-sdk-fundamentals</link><description>hello community 
 I`m a beginner, try to test the Lesson2 exercise 1 code of nRF Connect SDK Fundamentals, it&amp;#180;s about LED and buttons. 
 Thingy53 I`m using, this is the schematic, theoritcally, if button(SW3) is pressed, it&amp;#180;s connected to ground, namely</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Apr 2024 12:22:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110718/confused-about-example-code-lesson2-exercise-1-of-nrf-connect-sdk-fundamentals" /><item><title>RE: confused about example code: Lesson2 exercise 1 of nRF Connect SDK Fundamentals</title><link>https://devzone.nordicsemi.com/thread/481275?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 12:22:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:619c0973-6286-4d70-9b81-045dabd9a726</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see that you&amp;#39;ve resolved this yourself already, and yes, you&amp;#39;re right. This it how it works.&lt;/p&gt;
&lt;p&gt;You can for instance use the overlay (also explained in the fundamentals course) to change if a GPIO should be active high or active low, to revert this. You can also use the devicetree helper in the VS Code extension to visually see what is happening and these configurations will get directly added to your overlay files if you want to modify something.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: confused about example code: Lesson2 exercise 1 of nRF Connect SDK Fundamentals</title><link>https://devzone.nordicsemi.com/thread/481178?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 20:25:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d75011a-3381-4dc5-9218-25ffa04c8e4f</guid><dc:creator>danny0007</dc:creator><description>&lt;p&gt;ok, understood it:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;* Get logical level of an input pin taking into account GPIO_ACTIVE_LOW flag.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;* If pin is configured as Active High, a low physical level will be interpreted&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;* as logical value 0. If pin is configured as Active Low, a low physical level&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;* will be interpreted as logical value 1.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>