<?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>Converting Arduino code to c++ code</title><link>/technologies/robotics/b/blog/posts/converting-arduino-code-to-c-code</link><description>Can anyone help me to convert my arduino code to c++ code. This is our project code for sumobot competition. Thanks
Attachments: community.element14.com/.../sumobot-_2800_1_2900_.txt.zip</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Converting Arduino code to c++ code</title><link>https://community.element14.com/technologies/robotics/b/blog/posts/converting-arduino-code-to-c-code</link><pubDate>Mon, 02 Apr 2018 12:12:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2f223efb-3b14-4384-9d54-000835016f7d</guid><dc:creator>huligemma</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Can anyone plz help me to convert from arduino code to c code&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2321&amp;AppID=36&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Converting Arduino code to c++ code</title><link>https://community.element14.com/technologies/robotics/b/blog/posts/converting-arduino-code-to-c-code</link><pubDate>Thu, 04 May 2017 06:01:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2f223efb-3b14-4384-9d54-000835016f7d</guid><dc:creator>androidrobo</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;I&amp;#39;m using a 74HC595N shift register to save some mbed pins while trying to display multiple LED.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2321&amp;AppID=36&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Converting Arduino code to c++ code</title><link>https://community.element14.com/technologies/robotics/b/blog/posts/converting-arduino-code-to-c-code</link><pubDate>Thu, 22 Dec 2016 19:27:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2f223efb-3b14-4384-9d54-000835016f7d</guid><dc:creator>Robert Peter Oakes</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Your arduino sketch is already C code, it just happens to have a set of libraries that hide the hardware from you and allow the code to be used with different hardware with little or no changes.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I would assume that you want to use a more traditional compiler like Atmel Studio that is based on Visual Studio 2015. This will still let you code the same way as a Sketch if you want, but also will allow you to create programs that will run without the boot loaders etc. There are plenty of examples along with Atmel Studio to give you a head start.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2321&amp;AppID=36&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Converting Arduino code to c++ code</title><link>https://community.element14.com/technologies/robotics/b/blog/posts/converting-arduino-code-to-c-code</link><pubDate>Thu, 15 Dec 2016 21:32:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2f223efb-3b14-4384-9d54-000835016f7d</guid><dc:creator>balearicdynamics</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I suggest that you install AVRStudio. This is a full arduino supported environment and makes you the life extremely easy to make this porting. Take in account the following:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;.ino&lt;/strong&gt; &amp;quot;sketches&amp;quot; are as a matter of fact C source files iwth some limitations&lt;/li&gt;&lt;li&gt;You can already add your own C files to a sketch, it is just the case of the Arduino libraries&lt;/li&gt;&lt;li&gt;As a initial startup after the installation of the AVRstudio and the Arduino support plugins you can barely import your original sketches in an AVRStudio project then move for the conversion (with a lot of documentation and helpful contextual hints).&lt;/li&gt;&lt;li&gt;There is a very high compatibility level between the AVRStudio and the java arduino IDE&lt;/li&gt;&lt;li&gt;The only limitation is that after a sketch has been ported inside a AVRStudio project you should have a backup because you can no longer open the .ino sketch with the Arduino IDE (but this is not your need).&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;For any specific detail, just ask here.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note: &lt;span&gt;[mention:9096439d3a464e28836f5e90621862d3:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; is right with his suggestion and hte documentation link is a great compendium. The use of AVRStudio instead gives you the option to compile the code and upload to the Arduino board like before.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enrico&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2321&amp;AppID=36&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Converting Arduino code to c++ code</title><link>https://community.element14.com/technologies/robotics/b/blog/posts/converting-arduino-code-to-c-code</link><pubDate>Wed, 14 Dec 2016 19:58:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2f223efb-3b14-4384-9d54-000835016f7d</guid><dc:creator>clem57</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.visualmicro.com/post/2012/06/01/Reference-the-Arduino-IDE-core-in-c-code.aspx" rel="nofollow ugc noopener" target="_blank" title="http://www.visualmicro.com/post/2012/06/01/Reference-the-Arduino-IDE-core-in-c-code.aspx"&gt;How to - Arduino code syntax in c++ (.c. cpp .h)?&lt;/a&gt; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2321&amp;AppID=36&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>