<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: EW21: Lesson 7: WS2812 LED Strip	</title>
	<atom:link href="https://iotexpert.com/ew21-lesson-7-ws2812-led-strip/feed/" rel="self" type="application/rss+xml" />
	<link>https://iotexpert.com/ew21-lesson-7-ws2812-led-strip/</link>
	<description>Engineering for the Internet of Things</description>
	<lastBuildDate>Thu, 13 May 2021 12:43:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Alan Hawse		</title>
		<link>https://iotexpert.com/ew21-lesson-7-ws2812-led-strip/#comment-90051</link>

		<dc:creator><![CDATA[Alan Hawse]]></dc:creator>
		<pubDate>Thu, 13 May 2021 12:43:27 +0000</pubDate>
		<guid isPermaLink="false">https://iotexpert.com/?p=10831#comment-90051</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://iotexpert.com/ew21-lesson-7-ws2812-led-strip/#comment-89842&quot;&gt;Andrej&lt;/a&gt;.

You are welcome.

The CYBSP_Dxx notation means the Arduino pin names.  The CY8CPROTO you are talking about has no Arduino headers... so no Arduino pins....

All of these pins are eventually bound to a name like P1_3 or whatever.

If you look in the BSP documentation you can read about the pin definitions for each kit.

That is found in TARGET_xxx/versionxxx/docs/api_reference_manual.html ... which you can also find on the quick panel






You can always use Px_y]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://iotexpert.com/ew21-lesson-7-ws2812-led-strip/#comment-89842">Andrej</a>.</p>
<p>You are welcome.</p>
<p>The CYBSP_Dxx notation means the Arduino pin names.  The CY8CPROTO you are talking about has no Arduino headers&#8230; so no Arduino pins&#8230;.</p>
<p>All of these pins are eventually bound to a name like P1_3 or whatever.</p>
<p>If you look in the BSP documentation you can read about the pin definitions for each kit.</p>
<p>That is found in TARGET_xxx/versionxxx/docs/api_reference_manual.html &#8230; which you can also find on the quick panel</p>
<p>You can always use Px_y</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andrej		</title>
		<link>https://iotexpert.com/ew21-lesson-7-ws2812-led-strip/#comment-89842</link>

		<dc:creator><![CDATA[Andrej]]></dc:creator>
		<pubDate>Fri, 07 May 2021 08:38:04 +0000</pubDate>
		<guid isPermaLink="false">https://iotexpert.com/?p=10831#comment-89842</guid>

					<description><![CDATA[Hi Alan,

Many thanks for your lessons and videos/tutorials.

Please explain what is wrong with your CYBSP_D11 pin names here. Thanks a lot!
Is there any news about the BSP/GPIO naming convention for the future? 

Best regards,

Andrej 

/* Initialize and configure the motor driver */
    tle9879sys_init(&#038;tle9879_sys,
    					CYBSP_D11,
						CYBSP_D12,
						CYBSP_D13,
						NULL,
						CYBSP_D4,
						CYBSP_D5,
						CYBSP_D6,
						CYBSP_D7,
						&#038;numberOfBoards);

Compiling motor_task.c
10:26:44 **** Build of configuration Debug for project IoT_Expert_Embedded_World_2021_Lesson_6 ****
/Applications/ModusToolbox/tools_2.3/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.3 CY_IDE_TOOLS_DIR=/Applications/ModusToolbox/tools_2.3 -j3 all 
Tools Directory: /Applications/ModusToolbox/tools_2.3
CY8CPROTO-062-4343W.mk: ./libs/TARGET_CY8CPROTO-062-4343W/CY8CPROTO-062-4343W.mk

Prebuild operations complete
Commencing build operations...

Tools Directory: /Applications/ModusToolbox/tools_2.3
CY8CPROTO-062-4343W.mk: ./libs/TARGET_CY8CPROTO-062-4343W/CY8CPROTO-062-4343W.mk

Initializing build: MTBShellTemplate Debug CY8CPROTO-062-4343W GCC_ARM
...
motor_task.c:40:10: error: &#039;CYBSP_D11&#039; undeclared (first use in this function); did you mean &#039;CYBSP_SWO&#039;?
   40 &#124;          CYBSP_D11,
      &#124;          ^~~~~~~~~
      &#124;          CYBSP_SWO
motor_task.c:40:10: note: each undeclared identifier is reported only once for each function it appears in
motor_task.c:41:7: error: &#039;CYBSP_D12&#039; undeclared (first use in this function); did you mean &#039;CYBSP_SW2&#039;?
   41 &#124;       CYBSP_D12,
      &#124;       ^~~~~~~~~
      &#124;       CYBSP_SW2]]></description>
			<content:encoded><![CDATA[<p>Hi Alan,</p>
<p>Many thanks for your lessons and videos/tutorials.</p>
<p>Please explain what is wrong with your CYBSP_D11 pin names here. Thanks a lot!<br />
Is there any news about the BSP/GPIO naming convention for the future? </p>
<p>Best regards,</p>
<p>Andrej </p>
<p>/* Initialize and configure the motor driver */<br />
    tle9879sys_init(&amp;tle9879_sys,<br />
    					CYBSP_D11,<br />
						CYBSP_D12,<br />
						CYBSP_D13,<br />
						NULL,<br />
						CYBSP_D4,<br />
						CYBSP_D5,<br />
						CYBSP_D6,<br />
						CYBSP_D7,<br />
						&amp;numberOfBoards);</p>
<p>Compiling motor_task.c<br />
10:26:44 **** Build of configuration Debug for project IoT_Expert_Embedded_World_2021_Lesson_6 ****<br />
/Applications/ModusToolbox/tools_2.3/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.3 CY_IDE_TOOLS_DIR=/Applications/ModusToolbox/tools_2.3 -j3 all<br />
Tools Directory: /Applications/ModusToolbox/tools_2.3<br />
CY8CPROTO-062-4343W.mk: ./libs/TARGET_CY8CPROTO-062-4343W/CY8CPROTO-062-4343W.mk</p>
<p>Prebuild operations complete<br />
Commencing build operations&#8230;</p>
<p>Tools Directory: /Applications/ModusToolbox/tools_2.3<br />
CY8CPROTO-062-4343W.mk: ./libs/TARGET_CY8CPROTO-062-4343W/CY8CPROTO-062-4343W.mk</p>
<p>Initializing build: MTBShellTemplate Debug CY8CPROTO-062-4343W GCC_ARM<br />
&#8230;<br />
motor_task.c:40:10: error: &#8216;CYBSP_D11&#8217; undeclared (first use in this function); did you mean &#8216;CYBSP_SWO&#8217;?<br />
   40 |          CYBSP_D11,<br />
      |          ^~~~~~~~~<br />
      |          CYBSP_SWO<br />
motor_task.c:40:10: note: each undeclared identifier is reported only once for each function it appears in<br />
motor_task.c:41:7: error: &#8216;CYBSP_D12&#8217; undeclared (first use in this function); did you mean &#8216;CYBSP_SW2&#8217;?<br />
   41 |       CYBSP_D12,<br />
      |       ^~~~~~~~~<br />
      |       CYBSP_SW2</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
