<?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>Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94227/thingy-91-blinky-example</link><description>So i purchased the thingy 91 eval board to try it out and see if it will be easy to work with. 
 I was able to follow the instructions and get vs code working properly and building, so i tried the blinky sample to see if I can blink the led light. 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jun 2025 07:14:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94227/thingy-91-blinky-example" /><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/540267?ContentTypeID=1</link><pubDate>Tue, 24 Jun 2025 07:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bc6223-92ab-41fa-bc2c-b1056c5b6759</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Thanks for the suggestion, I will add a bit more explanation to that page. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/540244?ContentTypeID=1</link><pubDate>Mon, 23 Jun 2025 20:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:777becd6-9e6a-4118-9916-4c5bcd37eaa4</guid><dc:creator>MarekP</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/heidi"&gt;Heidi&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p data-start="135" data-end="231"&gt;My apologies.&lt;br data-start="148" data-end="151" /&gt; After completing two courses, I repeated the first exercise, and it worked well.&lt;/p&gt;
&lt;p data-start="233" data-end="719"&gt;If I were to suggest just one improvement to the course material, I would recommend expanding the explanation provided on this page: &lt;a class="" href="https://academy.nordicsemi.com/flash-instructions-for-the-thingy91/" target="_new" data-start="366" data-end="504"&gt;https://academy.nordicsemi.com/flash-instructions-for-the-thingy91/&lt;/a&gt;, specifically regarding the contents of the build folder. I found it a bit confusing to understand why so many files are generated when I only need one specific file that is buried deep within the folder structure.&lt;/p&gt;
&lt;p data-start="721" data-end="1072"&gt;Although the instructions on the page &amp;mdash; &lt;em data-start="761" data-end="918"&gt;&amp;quot;Navigate to the build folder of your application: &lt;code data-start="813" data-end="875"&gt;&amp;lt;application root directory&amp;gt;\build\&amp;lt;application_name&amp;gt;\zephyr&lt;/code&gt; and select the file &lt;code data-start="896" data-end="915"&gt;zephyr.signed.hex&lt;/code&gt;.&amp;quot;&lt;/em&gt; &amp;mdash; are technically correct, it took me a while to figure out what &lt;code data-start="984" data-end="1004"&gt;&amp;lt;application_name&amp;gt;&lt;/code&gt; and &lt;code data-start="1009" data-end="1039"&gt;&amp;lt;application root directory&amp;gt;&lt;/code&gt; referred to in my specific case.&lt;/p&gt;
&lt;p data-start="1074" data-end="1197"&gt;That&amp;rsquo;s really the only suggestion I have &amp;mdash; overall, the courses are very well done, and I truly enjoyed going through them.&lt;/p&gt;
&lt;p data-start="1199" data-end="1220"&gt;Best regards,&lt;br data-start="1212" data-end="1215" /&gt; Marek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/540181?ContentTypeID=1</link><pubDate>Mon, 23 Jun 2025 11:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73cc2681-88f1-45cc-a583-732b5105c556</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/marekp"&gt;MarekP&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="146331" url="~/f/nordic-q-a/94227/thingy-91-blinky-example/540036"]This tutorial assumes you are using a development board like the nRF52840 DK or nRF9160 DK, which define &lt;code data-start="265" data-end="271"&gt;led0&lt;/code&gt; and &lt;code data-start="276" data-end="281"&gt;sw0&lt;/code&gt; aliases in their devicetree. However, the Thingy:91 does &lt;strong data-start="339" data-end="346"&gt;not&lt;/strong&gt; define &lt;code data-start="354" data-end="360"&gt;led0.&lt;/code&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is not correct, the nRF Connect SDK Fundamentals course works with all of the devices listed on the front page:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF54L15-DK" rel="noopener noreferrer" target="_blank"&gt;nRF54L15 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF7002-DK"&gt;nRF7002&amp;nbsp;DK&lt;/a&gt;,&amp;nbsp;&lt;a style="background-color:#ffffff;color:#1579e6;" href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF5340-DK" rel="noopener noreferrer" target="_blank"&gt;nRF5340 DK&lt;/a&gt;,&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52840-DK" rel="noopener noreferrer" target="_blank"&gt;nRF52840 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52833-DK" rel="noopener noreferrer" target="_blank"&gt;nRF52833 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52-DK" rel="noopener noreferrer" target="_blank"&gt;nRF52 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF9160-DK" rel="noopener noreferrer" target="_blank"&gt;nRF9160 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF9161-DK" rel="noopener noreferrer" target="_blank"&gt;nRF9161 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF9151-DK" rel="noopener noreferrer" target="_blank"&gt;nRF9151 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Nordic-Thingy-53"&gt;Thingy:53&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Nordic-Thingy-91-X"&gt;Thingy:91 X&lt;/a&gt; or &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Nordic-Thingy-91" rel="noopener noreferrer" target="_blank"&gt;Thingy:91&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Furthermore, the Thingy:91 board folder defines the &lt;code&gt;led0&lt;/code&gt; and &lt;code&gt;sw0&lt;/code&gt; aliases in the devicetree &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/boards/nordic/thingy91/thingy91_nrf9160_common.dts#L75-L76"&gt;here&lt;/a&gt;. As you can see,&amp;nbsp;alias &lt;code&gt;led0&lt;/code&gt;&amp;nbsp;is assigned to the red LED, meaning&amp;nbsp;the Blinky sample running on a Thingy:91 should cause the LED to blink red.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just tested Lesson 1, Exercise 2 using the Thingy:91 (building for&amp;nbsp;&lt;code&gt;thingy91/nrf9160/ns&lt;/code&gt;) and it works as expected.&lt;/p&gt;
&lt;p&gt;If this is not working for you, what nRF Connect SDK version are you using, and what error are you getting?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="146331" url="~/f/nordic-q-a/94227/thingy-91-blinky-example/540036"]For Thingy91 use should use use the dk_buttons_and_leds.h library, which is specifically designed for the Thingy:91 and handles the LED and button.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is not correct either; the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.0/page/nrf/libraries/others/dk_buttons_and_leds.html"&gt;DK Buttons and LEDs library&lt;/a&gt; is &lt;strong&gt;not&lt;/strong&gt; specifically designed for the Thingy:91. This library simply provides an API to easily interface with the buttons and LEDs on Nordic boards, without having to use the GPIO API directly.&lt;br /&gt;&lt;br /&gt;Since the Blinky sample aims to show how to toggle an LED using the GPIO API directly, the DK Buttons and LEDs library is not necessary.&lt;br /&gt;&lt;br /&gt;&lt;code data-start="354" data-end="360"&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;We strive to keep the exercises in the DevAcademy up to date, so if something is not working for you, we&amp;#39;d love feedback on how it is not working, what error you are seeing, what environment you are using, etc. As I said, I just tested Exercise 2 with a Thingy:91, and I&amp;#39;m not able to reproduce any issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/540036?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2025 12:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ded4f414-1971-4c13-b75a-5b7234cd6e91</guid><dc:creator>MarekP</dc:creator><description>&lt;p&gt;This tutorial assumes you are using a development board like the nRF52840 DK or nRF9160 DK, which define &lt;code data-start="265" data-end="271"&gt;led0&lt;/code&gt; and &lt;code data-start="276" data-end="281"&gt;sw0&lt;/code&gt; aliases in their devicetree. However, the Thingy:91 does &lt;strong data-start="339" data-end="346"&gt;not&lt;/strong&gt; define &lt;code data-start="354" data-end="360"&gt;led0.&lt;br /&gt;&lt;br /&gt;For Thingy91 use should use use the dk_buttons_and_leds.h library, which is specifically designed for the Thingy:91 and handles the LED and button.&lt;br /&gt;&lt;br /&gt;What worked for me:&lt;br /&gt;&lt;br /&gt;Modify main.c:&lt;br /&gt;&lt;br /&gt;Add&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;dk_buttons_and_leds.h&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;change main:&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;br /&gt; int ret = dk_leds_init();&lt;br /&gt; if (ret != 0) {&lt;br /&gt; return ret;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; while (1) {&lt;br /&gt; ret = gpio_pin_toggle_dt(&amp;amp;led);&lt;br /&gt; if (ret &amp;lt; 0) {&lt;br /&gt; return 0;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; dk_set_led_on(DK_LED1);&lt;br /&gt; k_msleep(SLEEP_TIME_MS);&lt;br /&gt; dk_set_led_off(DK_LED1);&lt;br /&gt; k_msleep(SLEEP_TIME_MS);&lt;br /&gt; }&lt;br /&gt; return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;--- modify prj.conf&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;code data-start="354" data-end="360"&gt;CONFIG_GPIO=y&lt;br /&gt;CONFIG_DK_LIBRARY=y&lt;br /&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;br /&gt;CONFIG_BUILD_OUTPUT_BIN=y&lt;br /&gt;CONFIG_BUILD_OUTPUT_HEX=y&lt;br /&gt;CONFIG_STDOUT_CONSOLE=y&lt;br /&gt;CONFIG_UART_CONSOLE=y&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;and use build/l1_e2/zephyr/zephyr.signed.hex&lt;br /&gt;as the file in Programmer.&lt;br /&gt;&lt;br /&gt;Unfortunately - a lot of changes in the first tutorial.&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/412666?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2023 09:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59dfb240-502e-4bfd-89f3-73f8f1604c31</guid><dc:creator>Gova</dc:creator><description>&lt;p&gt;Hello Abhijith,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for sharing the information. I am also facing the same problem as Joseph. I am using VS Code and followed everything as said in&amp;nbsp;&lt;a id="" href="https://academy.nordicsemi.com/topic/exercise-1-1/"&gt;https://academy.nordicsemi.com/topic/exercise-1-1/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am getting these warnings and errors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3187.Errors.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is this normal or is there a way to correct all these?&lt;/p&gt;
&lt;p&gt;I got my hex built, and programmed too. But nothing happens in thingy board when switched ON.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Your help will be much appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/412181?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 08:40:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56820fdf-5336-445c-a8a7-5fbe087ae9b6</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Take a look at&lt;a href="https://devzone.nordicsemi.com/support-private/support/283513"&gt; this old thread &lt;/a&gt;which explains the same thing in my response with little more description might&amp;nbsp; be useful for you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/412115?ContentTypeID=1</link><pubDate>Sun, 26 Feb 2023 20:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:256c621a-0242-47be-9a48-1bcbbbf9f9f1</guid><dc:creator>AntonioB18</dc:creator><description>&lt;p&gt;Having the same problem, I updated to the latest modem fw and then the blinky led and is not blinking, I will try to deep in the problem a little more. But to be honest it is a little bit of a disappointment.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/397788?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 08:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:177e9545-1eaa-4d07-8df1-522eddbe26b2</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Really sorry I overlooked. Yes you can try the blinky sample with thingy91 but you should try with the external debugger. Or if you are trying with the nrf connect programmer app then you need to upload the app_signed.hex file in the build folder.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For obtaining the file you need to build the sample&amp;nbsp; with boardname&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span style="color:rgba(0, 0, 128, 1);"&gt;thingy91_nrf9160_ns&lt;/span&gt; and update with&amp;nbsp;&lt;span style="color:rgba(0, 0, 128, 1);"&gt;app_signed.hex&lt;/span&gt;. After programming, power off/on the&amp;nbsp;thingy91, it should blink with red.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Abhijith&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/397732?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 21:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6b6d646-abf0-4b24-a54e-73197b4dac82</guid><dc:creator>JosephAzar</dc:creator><description>&lt;p&gt;Are you sure about this? Because all the online tutorials use blinky as the first example to try on the thingy 91. Also the documentation and schematics point to gpio 29 being the red led pin which is correctly defined in the device tree and I selected the thingy 91 when creating a build configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 91 Blinky Example</title><link>https://devzone.nordicsemi.com/thread/397652?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 12:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:205614b7-053c-46da-a64b-a5e1541b5063</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For thingy91 you need to use an external debugger pin for Programming an Application, see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy91.html#ug-thingy91:~:text=There%20are%20multiple%20methods%20of%20programming%20a%20sample%20or%20application%20onto%20a%20Thingy%3A91.%20It%20is%20recommended%20to%20use%20an%20external%20debug%20probe%20to%20program%20the%20Thingy%3A91."&gt;here&lt;/a&gt;. Or else you can use&amp;nbsp;the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop#:~:text=measure%20its%20current.-,Programmer,-The%20Programmer%20app"&gt;Programmer&lt;/a&gt;, but you need to make the thingy91 in the bootloader mode by following &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy91_gsg.html#:~:text=The%20board%20enters%20bootloader%20mode%20if%20any%20of%20the%20following%20buttons%20are%20pressed%20while%20the%20Thingy%3A91%20is%20being%20powered%20on%20(using%20SW1)%3A"&gt;this step&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;And also the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/blinky/README.html"&gt;Blinky example&lt;/a&gt; does not work on Thingy91 as it requires an LED connected to the GPIO pins. You can see a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/boards/index.html#boards"&gt;supported board&lt;/a&gt; section in the same page.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>