<?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>Simple Flashing LED code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77961/simple-flashing-led-code</link><description>Hi there 
 I am trying to write a simple code that will flash turn on an LED fro one I/O pine of the nrf24le1 in response to an input from another I/O pin of the nrf24le1. Basically, my code is an if loop that will set pin02 to 1 if the value at pin01</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Jul 2021 11:32:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77961/simple-flashing-led-code" /><item><title>RE: Simple Flashing LED code</title><link>https://devzone.nordicsemi.com/thread/322656?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 11:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4910b1e3-903a-4870-a469-b0681a1f1724</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;The best of luck with your project &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;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple Flashing LED code</title><link>https://devzone.nordicsemi.com/thread/322530?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 16:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e81ee9ae-c4c2-4d4a-aaf9-5fc5146b7808</guid><dc:creator>BDSL</dc:creator><description>&lt;p&gt;Thank you for the advice, ovrebekk! I will look into these options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple Flashing LED code</title><link>https://devzone.nordicsemi.com/thread/322186?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 09:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8f54c16-0c43-4798-8662-1658d64c1e5e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Emma&lt;/p&gt;
&lt;p&gt;My first piece of advice would be not to start out with the nRF24LE1, since this chip is very old and not very well supported anymore ;)&lt;/p&gt;
&lt;p&gt;Instead I would recommend a device in the nRF52 family, such as the nRF52840, which has a more modern ARM based architecture, more features and uses less power (if you want to make a battery powered device).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And if you are new to microcontrollers it is even easier to start out with something like an Arduino board, such as the &lt;a href="https://store.arduino.cc/arduino-nano-33-ble"&gt;Arduino Nano 33 BLE&lt;/a&gt; (using the aforementioned nRF52840 chip), or the &lt;a href="https://microbit.org/"&gt;MicroBit&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As for your question, a single pin can only ever be 0 or 1. In other words P00 will never be &amp;gt;= 1000 ;)&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>