<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>Arduino to C/C++ for LED Cube</title><link>/products/arduino/b/blog/posts/arduino-to-c-c-for-led-cube</link><description>Does anyone know how to convert arduino code to c/c++? I have made a 4x4x4 LED cube, but I need to have the code in c/c++, not just arduino code. If anyone knows of a converter or can link a site to easily learn c/c++ on an arduino, that wo...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Arduino to C/C++ for LED Cube</title><link>https://community.element14.com/products/arduino/b/blog/posts/arduino-to-c-c-for-led-cube</link><pubDate>Tue, 23 Apr 2019 15:02:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:34206002-97ad-4fda-bec5-fff41537a8db</guid><dc:creator>ralphjy</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;You don&amp;#39;t indicate why you can&amp;#39;t use the Arduino language and IDE.&amp;nbsp; Maybe this is a class assignment?&amp;nbsp; Anyway, you&amp;#39;ll need to set up an avr-gcc toolchain and will need to replicate all the stuff that the Arduino code is doing for you.&amp;nbsp; Here is a link that may help you: &lt;a class="jive-link-external-small" href="https://www.instructables.com/id/AVR-Programming-with-Arduino-AVRdude-and-AVR-gcc/" rel="nofollow ugc noopener" target="_blank"&gt;https://www.instructables.com/id/AVR-Programming-with-Arduino-AVRdude-and-AVR-gcc/&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6882&amp;AppID=145&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino to C/C++ for LED Cube</title><link>https://community.element14.com/products/arduino/b/blog/posts/arduino-to-c-c-for-led-cube</link><pubDate>Tue, 23 Apr 2019 13:10:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:34206002-97ad-4fda-bec5-fff41537a8db</guid><dc:creator>dzuz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/431x682/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-34206002-97ad-4fda-bec5-fff41537a8db/contentimage_5F00_190649.png:431:682]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I try to compile the code and I keep getting this error. Does anyone know how I could resolve this issue?&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6882&amp;AppID=145&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino to C/C++ for LED Cube</title><link>https://community.element14.com/products/arduino/b/blog/posts/arduino-to-c-c-for-led-cube</link><pubDate>Thu, 18 Apr 2019 01:05:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:34206002-97ad-4fda-bec5-fff41537a8db</guid><dc:creator>jomoenginer</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Are you using the Arduino IDE?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If so, Arduino is C and/or C++.&amp;nbsp; Just when you use the Arduino IDE, you need a setup and loop function instead of a main. You could just add your code as interfaces with classes or declarations in a &amp;#39;.h&amp;#39; and either create your own folder under Arduino/libraries or create a &amp;#39;src&amp;#39; subfolder under your working folder where you place your code in.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You would then add you code as such&lt;/p&gt;&lt;p&gt;#include &amp;quot;src/YourCode.h&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Otherwise, depending on the microprocessor used on the board, you could use Atmel Studio.&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.microchip.com/mplab/avr-support/atmel-studio-7" rel="nofollow ugc noopener" target="_blank"&gt;https://www.microchip.com/mplab/avr-support/atmel-studio-7&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6882&amp;AppID=145&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>