CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Translate code

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
atoo



Joined: 31 Jan 2014
Posts: 32

View user's profile Send private message Send e-mail

Translate code
PostPosted: Mon Feb 24, 2014 10:40 pm     Reply with quote

Can I migrate, arduino for ccs c ?

I want to type my code in ccs, is easy?
Ttelmah



Joined: 11 Mar 2010
Posts: 19381

View user's profile Send private message

PostPosted: Tue Feb 25, 2014 1:42 am     Reply with quote

Depends how good you are as a programmer....

90% of standard C, will work exactly the same, once you configure certain things (particularly variable sizes), and can be translated almost line for line. However there are significant hardware differences with the peripherals, which will require some re-design.

So it depends how experienced you are with both chips, what peripherals you use, and what the code is actually trying to do. Also depends 'which' Arduino. The original AVR, or later chips. Trying to do some of the maths that can be done on an Arduino Due, with a PIC, will show problems with speed. Code for an Arduino Uno though, is talking a very similar performance, to many PIC's.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group