<?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>How to access the pin named &amp;quot;P1.04&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85803/how-to-access-the-pin-named-p1-04</link><description>Hello, 
 I am using nRF52833 based BE33 ( Celium Devices ) and using nRF52SDK17.0.2. I am a beginner at Nordic. I want to understand how I can access a pin named &amp;quot; P1.04 &amp;quot; I believe we can access a pin named &amp;quot;P0.11&amp;quot; as pin number 11 in the code as shown</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Mar 2022 16:18:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85803/how-to-access-the-pin-named-p1-04" /><item><title>RE: How to access the pin named "P1.04"</title><link>https://devzone.nordicsemi.com/thread/358047?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 16:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53d15e2c-f7e7-465e-a9e0-74b0348726f0</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Thanks Priyanka,&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;for this information.&lt;/p&gt;
&lt;p&gt;I will try it and will update you. Thank you again.&lt;/p&gt;
&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to access the pin named "P1.04"</title><link>https://devzone.nordicsemi.com/thread/358040?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 16:09:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e9315de-e37b-43e1-bf5d-ccee5a4133d5</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Neeraj,&lt;/p&gt;
[quote user=""]&lt;p&gt;nrf_gpio_pin_write(11,1);&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;nrf_gpio_pin_write(11,0);&lt;/p&gt;[/quote]
&lt;p&gt;This should be correct for all pin number with P0.x . For P1.x, you can refer to the pins as &lt;strong&gt;(pin number + 32).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For eg,&lt;/p&gt;
&lt;p&gt;P1.04 can be&amp;nbsp;&lt;code&gt;&lt;strong&gt;nrf_gpio_pin_write(36, 1)&lt;/strong&gt;, i.e. 32+4 = 36&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Priyanka&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>