<?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>Arduino libraries</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26777/arduino-libraries</link><description>What is the easiest way to use Arduino libraries into nrf52 projects in Keil on C?
Arduino has a lot minus : bad ide, not support debug mode, not optimize code size. But it has one huge plus, you can use any of module ( display, digital sensors or anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Nov 2017 12:23:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26777/arduino-libraries" /><item><title>RE: Arduino libraries</title><link>https://devzone.nordicsemi.com/thread/105252?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ff4dde4-cc84-49e8-b275-acbe19749973</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Saw another devzone case &lt;a href="https://devzone.nordicsemi.com/question/175759/exporting-importing-and-modifying-libraries-from-arduino-ide-to-ses-ide/"&gt;answered by a colleague of mine her&lt;/a&gt;e: To paraphrase: the SDK examples are optimized for Nordic products. You might be able to get the Arduino libraries to work, but these are definitely not optimized for Nordic devices (except the Arduino Primo maybe). So even though it could work, you might experience higher current consumption then you would on the Nordic SDK examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino libraries</title><link>https://devzone.nordicsemi.com/thread/105251?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:05:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06dbaab3-4023-404d-9524-72b810396301</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;And one more comment: if you do decide to use Segger Embedded Studio (SES) as your IDE, make sure to use &amp;gt;= SDK 14, as SES support has been added from SDK 14 and onwards. Otherwise, you can disregard this comment. To find the SES examples, download the newest SDK &amp;amp; click on the examples folder, choose the folder you want (e.g. ble_peripheral), then choose the example you want (e.g. ble_app_hrs), choose the devkit you have (e.g. pca10040), choose the softdevice corresponding to your devkit (e.g. s132) &amp;amp; finally click on the ses folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino libraries</title><link>https://devzone.nordicsemi.com/thread/105250?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:04:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78ea0ab-c082-4066-b4b4-9fc6bc28aaea</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I am unsure if it is easier to try to use the Arduino libraries on the nrf52 or use an SDK 14.1 example to work on the nrf52 &amp;amp; get the modules communicating that way. You&amp;#39;d almost need to test it out and see what works best. Let me know if I can help you further with this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino libraries</title><link>https://devzone.nordicsemi.com/thread/105249?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feebbb50-668e-4f09-ad74-3809ef0057d2</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I would consider using Segger Embedded Studio if you do not have a Keil license, as &lt;a href="https://www.segger.com/news/segger-embedded-studio-ide-now-free-for-nordic-sdk-users/"&gt;SES is free for people programming on Nordic devices&lt;/a&gt;. If you do have a keil license, you are free to use keil, as it is a great (but unfortunately expensive) IDE.&lt;/p&gt;
&lt;p&gt;So if I understand this correctly, you want to use the Arduino libraries on a nrf52832 dk for example, right? Or do you want to use the Arduino Primo?&lt;/p&gt;
&lt;p&gt;It should work to use C++, as you can &lt;a href="https://devzone.nordicsemi.com/question/120073/use-c-with-nordic-sdk-nrf52-series/"&gt;see from this devzone case&lt;/a&gt;. &lt;a href="https://devzone.nordicsemi.com/question/13692/could-i-use-c-instead-of-c/"&gt;Take a look at this case too&lt;/a&gt;. What is the current project you are working on? Do you think it would be easier to get the Arduino libraries to work on nrf52 instead of getting the modules you are talking about (i.e. display, digital sensors, ...) to communicate with the nrf52 using the Nordic SDK examples?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>