<?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>What am I doing wrong? Setting pins as inputs and outputs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46525/what-am-i-doing-wrong-setting-pins-as-inputs-and-outputs</link><description>I am trying to set pins when I press a button, and clear is as soon as I stop pressing the button, however the board turns on all leds at once and does not respond to input from the buttons. 
 Debugging the project leads me nowhere, as the PC jumps around</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2019 19:47:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46525/what-am-i-doing-wrong-setting-pins-as-inputs-and-outputs" /><item><title>RE: What am I doing wrong? Setting pins as inputs and outputs</title><link>https://devzone.nordicsemi.com/thread/183261?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 19:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80c835bc-bc48-4658-8a38-137cbdcb1bc4</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Happy to help :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What am I doing wrong? Setting pins as inputs and outputs</title><link>https://devzone.nordicsemi.com/thread/183260?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 19:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64a7f8df-fd13-4361-b38c-cc30e6b2091c</guid><dc:creator>danielb1194</dc:creator><description>&lt;p&gt;INDEED!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you Andy! And again thank you for your patience!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What am I doing wrong? Setting pins as inputs and outputs</title><link>https://devzone.nordicsemi.com/thread/183259?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 19:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d20461b-477d-4bc4-981f-440fe5cae5cb</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;The buttons are active low, meaning the input will be connected to ground when the button is activated. The buttons have no external pull-up resistor, so to use the buttons the &lt;/span&gt;&lt;span class="keyword pcb"&gt;P0.13&lt;/span&gt;&lt;span&gt;&amp;ndash;&lt;/span&gt;&lt;span class="keyword pcb"&gt;P0.16&lt;/span&gt;&lt;span&gt; pins must be configured as an input with an internal pull-up resistor.&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What am I doing wrong? Setting pins as inputs and outputs</title><link>https://devzone.nordicsemi.com/thread/183258?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 19:42:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:213b9dec-b422-4980-9b37-2dbcac940d7a</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;It says there that the button inputs need to be configured with pull ups.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What am I doing wrong? Setting pins as inputs and outputs</title><link>https://devzone.nordicsemi.com/thread/183257?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 19:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f2aec42-ffb4-4545-91ba-5a9d0bded9fd</guid><dc:creator>danielb1194</dc:creator><description>&lt;p&gt;Hey again Andy! RTFM I did, and I know the pins are connected to the leds and the leds to VDD instead of GND, so the functionality should be reversed, however the leds are simply not responding to the buttons input.&lt;/p&gt;
&lt;p&gt;Am I using the wrong functions? or is it that the LEDs are connected through the IO expanders??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What am I doing wrong? Setting pins as inputs and outputs</title><link>https://devzone.nordicsemi.com/thread/183256?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 19:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:984894b6-748d-4e90-9af2-3a95614f6a04</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Hi, me again.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_btns_leds.html"&gt;RTFM&lt;/a&gt;&amp;nbsp;again haha.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>