<?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>Steps when setting up GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81167/steps-when-setting-up-gpio</link><description>I&amp;#39;m trying to get my head around the steps involved in doing something as simple as accessing a GPIO pin. 
 I&amp;#39;m running VSCode as my IDE, with the nRF Connect extension (V1.7.0). I&amp;#39;ve been playing around with the blinky example contained in ..\v1.7.0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Oct 2021 11:28:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81167/steps-when-setting-up-gpio" /><item><title>RE: Steps when setting up GPIO</title><link>https://devzone.nordicsemi.com/thread/336660?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 11:28:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:305ce374-6972-42f5-83b6-8bcc388862d7</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Really sorry for the late response.&lt;/p&gt;
&lt;p&gt;1. Yes, that&amp;#39;s right. You do not reference using the&amp;nbsp;&lt;em&gt;pin_name,&amp;nbsp;&lt;/em&gt;but the&amp;nbsp;&lt;em&gt;gpio_pin_name&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;2. As you have already mentioned, creating an alias will make it really easy and comfortable to work with, but it is not a necessity and is totally up to you.&lt;/p&gt;
&lt;p&gt;3. This is also correct. You can refer the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/drivers/index.html?highlight=device_get_binding#c.device_get_binding"&gt;Developer page&lt;/a&gt; or the &lt;a href="https://docs.zephyrproject.org/latest/reference/drivers/index.html?highlight=device_get_binding#c.device_get_binding"&gt;Zephyr documentation&lt;/a&gt; for further details regarding this.&lt;/p&gt;
&lt;p&gt;4. You seem to be on the right path here and&amp;nbsp; you could also refer the &lt;a href="https://docs.zephyrproject.org/latest/reference/peripherals/gpio.html?highlight=gpio_pin_configure#c.gpio_pin_configure"&gt;gpio_pin_configure &lt;/a&gt;and &lt;a href="https://docs.zephyrproject.org/latest/reference/peripherals/gpio.html?highlight=gpio_pin_set#c.gpio_pin_set"&gt;gpio_pin_set .&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Along with this, you could refer &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h180sjwjk6o5g1h84ara1cpl5hfi6jelf"&gt;this Tutorial &lt;/a&gt;for getting started with device tree and also the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/devicetree/index.html"&gt;developer page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope this helps &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;PK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>