<?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>Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33110/beginner-needing-help-with-basic-structure-and-pwm</link><description>I am a complete beginner, working through the tutorials and trying not to ask basic questions. However, I am up against a customer time limit and need some help. I am trying to create a program similar to nrf Blinky and soft LED. I need remote on/off</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Nov 2018 10:58:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33110/beginner-needing-help-with-basic-structure-and-pwm" /><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/156850?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 10:58:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6646004d-8476-46f5-a7ba-dfad599ffc13</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Could you please open a new devzone case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/156748?ContentTypeID=1</link><pubDate>Sat, 10 Nov 2018 07:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f7ac3bf-3d56-45e3-a5a1-e8da143a1f38</guid><dc:creator>Chukwuemeka</dc:creator><description>&lt;p&gt;Hi Sigurd&lt;/p&gt;
&lt;p&gt;I working on dimming two different LED strings independently (one at time) using nRF52834 SDK15. The idea is to use a high or low signal from GPIO to enable/disable a switch to one of the LED strings, and then dim the LED string that is enabled.&lt;/p&gt;
&lt;p&gt;I have modified the ble_app_template you provided, and its working for a fixed LED string. My question is how do I modify the custom BLE service in order that I can set/clear two GPIOs before I send the PWM duty for dimming?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/128175?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 08:00:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ee0059-2bb8-4a9a-a68b-3fd1391fd81b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Take a look how the ble_blinky application does this in the ble_peripheral folder of sdk 15. The LEDs are defined in main.c:&lt;/p&gt;
&lt;p&gt;#define ADVERTISING_LED BSP_BOARD_LED_0 /**&amp;lt; Is on when device is advertising. */&lt;br /&gt;#define CONNECTED_LED BSP_BOARD_LED_1 /**&amp;lt; Is on when device has connected. */&lt;/p&gt;
&lt;p&gt;BSP_BOARD_LED_0 &amp;amp; BSP_BOARD_LED_1 are defined in boards.h. I would try to understand the code &amp;amp; take a look at&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/ble_sdk_app_blinky.html?cp=4_0_0_4_1_2_3" target="_blank" rel="noopener noreferrer"&gt; the infocenter documentation&lt;/a&gt; to find out how this simple example works &amp;amp; how the LEDs are defined.&lt;/p&gt;
&lt;p&gt;Good luck with future development!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/128135?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 20:17:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a0074b5-c2eb-4d95-a2b5-fe03e179237d</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;Thanks! This works fantastic!&lt;/p&gt;
&lt;p&gt;I changed the pin that the PWM signal is present on and my product dims almost perfectly!&lt;/p&gt;
&lt;p&gt;Couple of questions: Sending a value of 100 turns off the output, not sure if this could be changed to a 100% duty cycle?&lt;/p&gt;
&lt;p&gt;EDIT: FIXED THIS BY CHANGING&lt;/p&gt;
&lt;p&gt;if(duty_cycle &amp;gt;= 1000)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; seq_values-&amp;gt;channel_0 = 1000;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;TO&lt;/p&gt;
&lt;p&gt;if(duty_cycle &amp;gt; 1000)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; seq_values-&amp;gt;channel_0 = 0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How do I change the advertising and connected LED&amp;#39;s to different pins? The pwm pin and advertising led share the same io now and I need to move or delete the led function.&lt;/p&gt;
&lt;p&gt;If I want to run an additional service, a custom one, do I need to write that in another file? I want to read the devices temperature, hit a button on the app and send the pwm to 0, hit again and toggle back the original pwm vale. That may be an app side job though.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried incorporating the custom service tutorial into the pwm example. It did not work very well.&amp;nbsp;&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;p&gt;&lt;/p&gt;
&lt;p&gt;Id like to thank you all for helping me learn this stuff and being patient with me while I fumble my way around.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/128104?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 14:42:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6973d52e-2743-435d-998e-0eb1dafa273d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Here is an example based on ble_app_uart + PWM driver for &lt;a href="https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/"&gt;SDK 15&lt;/a&gt;. You can control the PWM duty cycle, by sending values in the range from 0 to 100, either using nRF Toolbox or &lt;span&gt;nRF Connect&lt;/span&gt;. A 1KHz PWM is generated at pin 20 (led 4). Note that this is just a very quick prototype done in 10min, for an end-product you might want to create your own custom service for this.&lt;/p&gt;
&lt;p&gt;Extract the .rar file in the&amp;nbsp;ble_peripheral folder.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_pwm_5F00_driver_5F00_1KHz.rar"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_pwm_5F00_driver_5F00_1KHz.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;Here is the &lt;span&gt;custom service tutorial + PWM Driver. Write to the custom characteristic to&amp;nbsp;adjust the PWM duty cycle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_template_5F00_pwm_5F00_driver.rar"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_template_5F00_pwm_5F00_driver.rar&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/128086?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 13:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b08f90f-bc0b-459d-b46d-dbb24bdb22b7</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;Its in the right location. Not all files are missing. I spent most of the night adding include file locations, still have errors. I am out of time and in danger of losing the client.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If anyone offers code writing services, I am looking for someone to write a solution for me. I will come back to this later when I have time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT: So, after a windows update and reboot, all seems to be well and the project compiles perfectly.&lt;/p&gt;
&lt;p&gt;Thank you guys for all your help. I still have a ton of questions - I have no idea how to receive a value from an app and use it to alter pwm duty cycle yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127971?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 08:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56301849-289c-43f8-8fd4-c9b40ff47df6</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Are you sure you have added the code at the right place in the folder structure? The compiler_abstraction.h file can be found in&amp;nbsp;nRF5_SDK_15.0.0_a53641a\modules\nrfx\mdk\. If you open SES, right click on Project -&amp;gt; Edit Options -&amp;gt; change to Common Private Configuration -&amp;gt; Preprocessor -&amp;gt; User Include Directories, you can see the mdk folder at the bottom:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0870e47c46a948938790f235acfcf7a4/Capture.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Go to the location of your segger folder &amp;amp; see if that is at the correct location. You might need to add an extra folder at the top of the folder structure to get the correct include directories. You could also change the include directories location, but then you would probably need to do this for multiple instances.&lt;/p&gt;
&lt;p&gt;Basically, you want to make sure that the folder structure is identical to the other examples located in the SDK folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127928?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 02:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab7d0040-987f-430f-9e48-b52d5daf3ab7</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;Ok, downloaded Segger, changed the RAM locations per the tutorial, opened the tutorial SES project file, tried to build and there are many errors lol&lt;/p&gt;
&lt;p&gt;Looks like the same issues before with missing files that the includes are looking for. First missing file is compiler_abstraction.h, which is&amp;nbsp;stopping nrf_log_backend_serial.c&amp;nbsp;and nrf_log_default_backends.c from compling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127918?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 20:38:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d66b1ce-6ba8-44e7-b743-b0a5342898de</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Happy to help!&amp;nbsp;I would recommend moving to&amp;nbsp;Segger Embedded studio. You don&amp;rsquo;t wan&amp;#39;t to spend the development phase working around the max code limit in Keil(free version, full version is expensive). SES is also completely free when using Nordic chips!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127917?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 20:31:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72f1d56-7666-4f68-8e2f-717102a76dfb</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;YAY!! Thank you!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;m back to exceeding the maximum number of bytes so I have to work with SES or GCC. Unless there is something I can remove from this template?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127915?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 20:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c63338b7-1dbf-4f1f-b1ee-d3230b8a188a</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Try adding&amp;nbsp;ble_cus.c to the Application folder for the project (right click on the folder, and then Add existing files to Group &amp;quot;Application&amp;quot;...)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1523478448394v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127912?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 20:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a661b5-560a-4fa7-84d6-a5b30728984d</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;Kiel v5.06 update 5 (build 528)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127909?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 20:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac117dc9-0084-4a7d-b33a-9cda1ddffed0</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;You are using Keil&amp;nbsp;or SES ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127906?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 19:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aa5d85f-e524-458b-b3b5-72503aea7fa6</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;Yes it is. ble_cus.c (and.h) are located in the same place.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127905?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 19:56:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40bab9b9-907e-4902-8f02-e8f8ef1d2179</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;What folder is the&amp;nbsp;&lt;span&gt;ble_cus.c and&amp;nbsp;ble_cus.h located in ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is the main.c file located like this:&lt;/p&gt;
&lt;p&gt;sdk-folder\examples\ble_peripheral\custom_ble_service_example\main.c&amp;nbsp; ?&lt;/p&gt;
&lt;p&gt;What IDE/&lt;span&gt;toolchain&lt;/span&gt; are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127903?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 19:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f29ff751-15e2-42ea-b6d7-8c0a12a6899b</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;I did include ble_cus.h.&lt;/p&gt;
&lt;p&gt;Additionally, I used the tutorial version of main.c and got the same error.&lt;/p&gt;
&lt;p&gt;I am at the first compile stage.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just tried using the example files in my project and get 2 errors:&lt;/p&gt;
&lt;p&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol ble_cus_init (referred from main.o).&lt;br /&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol ble_cus_on_ble_evt (referred from main.o).&lt;br /&gt;Not enough information to list image symbols.&lt;br /&gt;Not enough information to list load addresses in the image map.&lt;br /&gt;Finished: 2 information, 0 warning and 2 error messages.&lt;br /&gt;&amp;quot;.\_build\nrf52832_xxaa.axf&amp;quot; - 2 Error(s), 0 Warning(s).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried compiling the example project and got lots of errors. Seems the include paths are wrong for many files, and some files are missing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I noticed that in your example that ble_cus.c appears in a folder called nRF_Services but this is not created in my version.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is so frustrating! &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; All I want to do is switch on and off an io pin and create a variable pwm signal! Arrggh.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127790?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 10:30:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c338cf04-f8f9-42e0-8269-246b6b122609</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://stackoverflow.com/questions/8440816/warning-implicit-declaration-of-function" rel="noopener noreferrer" target="_blank"&gt;See this link&lt;/a&gt; for an explanation of what an implicit declaration is. Did you remember to include ble_cus.h in your main.c file (i.e. #include &amp;quot;ble_cus.h&amp;quot;)? Which step have you reached in the tutorial when you get this error? I can recommend reading through the tutorial again &amp;amp; make sure you haven&amp;#39;t missed a small line of code somewhere.&lt;/p&gt;
&lt;p&gt;You can also compare your code with the solution code found here if that is easier (open the ble_cus.c, ble_cus.h and/or main.c files from &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example" rel="noopener noreferrer" target="_blank"&gt;the top of the tutorial link&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Also, regarding using Segger, I can highly recommend Segger Embedded Studio. Like mentioned above, it is free for Nordic SDK users (&lt;a href="https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV" rel="noopener noreferrer" target="_blank"&gt;here is a youtube playlis&lt;/a&gt;t for getting started). I cannot recommend using Eclipse unfortunately, as there are quite a few bugs. I have talked to a few customers &amp;amp; most of them complain that it takes a lot of time to get eclipse working. It is in my honest opinion easier to start with segger embedded studio.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127663?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 14:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebd5a980-274b-4874-80bd-386a6e415c68</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;I&amp;#39;ll definitely look in to GCC.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So right now I have fixed a few things but I cant get it to compile. The error code is:&lt;/p&gt;
&lt;p&gt;..\..\..\main.c(380): warning:&amp;nbsp; #223-D: function &amp;quot;ble_cus_init&amp;quot; declared implicitly&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;err_code = ble_cus_init(&amp;amp;m_cus, &amp;amp;cus_init);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is the code the error is referring to:&lt;/p&gt;
&lt;p&gt;static void services_init(void)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* YOUR_JOB: Add code to initialize the services used by the application.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ret_code_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; err_code;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ble_xxs_init_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxs_init;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ble_yys_init_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yys_init;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialize XXX Service.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memset(&amp;amp;xxs_init, 0, sizeof(xxs_init));&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxs_init.evt_handler&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxs_init.is_xxx_notify_supported&amp;nbsp;&amp;nbsp;&amp;nbsp; = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxs_init.ble_xx_initial_value.level = 100;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; err_code = ble_bas_init(&amp;amp;m_xxs, &amp;amp;xxs_init);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialize YYY Service.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memset(&amp;amp;yys_init, 0, sizeof(yys_init));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yys_init.evt_handler&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = on_yys_evt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yys_init.ble_yy_initial_value.counter = 0;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; err_code = ble_yy_service_init(&amp;amp;yys_init, &amp;amp;yy_init);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APP_ERROR_CHECK(err_code);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ret_code_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; err_code;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ble_cus_init_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cus_init;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;memset(&amp;amp;cus_init, 0, sizeof(cus_init));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;err_code = ble_cus_init(&amp;amp;m_cus, &amp;amp;cus_init);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Its copied from the tutorial so I&amp;#39;m not sure what is going on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127510?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 22:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ace5fe6-e9c9-41ac-98a4-57c6c673195e</guid><dc:creator>davidlr</dc:creator><description>&lt;p&gt;Keil is ARM privative, both IDE and compiler. Try using some GCC based environment, you can use the licensed by Nordic SEGGER which is free for you to use commercially, or any GCC flavour, pure Makefiles or Eclipse.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;All examples are availaible as GCC projects, and Segger projects.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;At the end you will be glad to start GCCing yourself, some Keil features are kinda dark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127501?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 17:34:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15e8010b-be34-42cb-b61a-cc27f5613c4a</guid><dc:creator>jmguk41</dc:creator><description>&lt;p&gt;Thanks for the link. I did see that earlier and have been working my way through it however I am getting an error when trying to compile the code.&lt;/p&gt;
&lt;p&gt;L6050U: The code size of this image (34532 bytes) exceeds the maximum allowed for this version of the linker.&lt;/p&gt;
&lt;p&gt;Apparently I&amp;#39;m using MDK-Lite which I downloaded via a link in the SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner needing help with basic structure and pwm</title><link>https://devzone.nordicsemi.com/thread/127421?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 11:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fb41615-b4f4-4326-8bd1-8a591278eecb</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Might be useful to start with &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example" target="_blank" rel="noopener noreferrer"&gt;this custom service tutorial&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>