I hope any one help me find a tutorial for programing microcontroller with C or C++

i need this really.

It is best written in assembly code.

>I hope any one help me find a tutorial for programing microcontroller with C or C++
Too vague. Be more specific so that we can help you.

>i need this really.
I'm sure you do need it, otherwise you wouldn't have asked.

>It is best written in assembly code.
I'm sorry, but that's not correct. The answer we were looking for was "It depends". Thank you for playing.

>I hope any one help me find a tutorial for programing microcontroller with C or C++
Too vague. Be more specific so that we can help you.

the microcontroller in a small ship is to be programed by assembly code or C language to control in devices like robot control and so on

http://www.microcontroller.com/

gcc can compile the code for ARM processors, powerpc, and some others, it depends what processor your microcontroller use. In general, the most feasible way to program microcontroller, is still to test and compile the code for your microprocessor, and then write it into the chip. For testing the program, you most likely need to emulate the hardware of your microcontroller, like as some debug code. It again depends on your microcontroller, there should be some debuggers available for any controller type, which would help you to test your program in the right environment.

> http://www.microcontroller.com/
Well there seems no shortage of information on that site, what do you need us for?

When it comes to programming embedded devices, I expect people to have a great deal of self motivation in digging out information for themselves. Because one thing is for sure, if all the debug you have is the number of times an LED flashes say, then you really, REALLY need to have your wits about you.

definitely i want a tutorial to be professional in programing "ATML Microcontroller" using C language

http://www.atmel.com/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.