<?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>Change state of a pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42628/change-state-of-a-pin</link><description>Hi there, I would like to make pin changes in my program. If my output pin is HIGH I want a function to change it to LOW and if was previously LOW change it to HIGH. Is there a function like that I can use with NRF52382? The IDE I&amp;#39;m using is Keil uVision</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jan 2019 10:35:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42628/change-state-of-a-pin" /><item><title>RE: Change state of a pin</title><link>https://devzone.nordicsemi.com/thread/166187?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 10:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a15b6de-af07-433d-a710-503d06b6e3cc</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Calling&amp;nbsp;&lt;span&gt;nrf_gpio_pin_toggle&amp;nbsp;should change the state of the GPIO from low to high or high to low. It should not change back unless you call it again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you post the code you are using, showing what you are doing?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>