Jump to content

Embedded C migration question

how easy will the migration from VERY basic C++ (console app, simple I/O operations), and somewhat basic assembly language (used for programming a PIC chip) to C for embedded systems.

 

Also if i use C to program a generic PIC chip how do you set up the PIC (like which pins are input or output etc...) before you start the actual program.

 

cheers for any replies.

Just a guy with a beard

Link to comment
Share on other sites

Link to post
Share on other sites

C is a little harder to get your head around after doing something like C++ as it lacks quite a bit of abstraction, but there's no reason why you shouldn't be able to get into it. You just have to pick a solid resource to learn from. C won't have most of the object-based programming practices implemented so structs are used to group data together, but at a fairly basic level.

 

However if you understand basic concepts in C++ like memory allocation then you should be okay as it is designed to retain backwards-compatibility. Good luck ;D

Link to comment
Share on other sites

Link to post
Share on other sites

fair enough, i should have a solid resource in my lecturer next uni at uni, but i'll find some other resources as well.

cheers for the advice/help

Just a guy with a beard

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×