By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,581 Members | 1,990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,581 IT Pros & Developers. It's quick & easy.

Best language to learn for Microcontrollers ?

P: 2
Hi - I am planning to build and program the "Arduino" microcontroller for a number of hobby-type projects.

I think C/C++ seems the logical language to learn as the Arduino IDE uses the 'C' compiler to generate it's code. However, I've never tackled a language as complex as this before. Although I have quite a lot of hardware knowledge, I'm relatively new to programming...

Previous experience is limited to correcting compile errors for a Time & Attendance system (ported to MSDOS from a mini-computer). Also, I wrote a small program to do "STD Code" (telephone) look-ups using just a hand-full of DOS Batch file commands. This ran, successfully, on early IBM clone floppy disk micros.

I'm wondering if I should learn another language first as a sort of 'bridge' to C /C++ ? Thanks for any help.
2 Weeks Ago #1
Share this Question
Share on Google+
2 Replies

P: 147
I don't think there is any need to learn another language first before C/C++. For people who are new to programming, I suggest to understand the basic programming concepts first using any language of their choice. Some people prefer Python because of the clear syntax. But having C or C++ as first language is also completely fine I would say. However, you should have command on basic programming concepts before diving into the object-oriented programming world.
1 Week Ago #2

P: 2
Thanks for the reply Dev7060. I'm currently working my way through a set of articles starting with CPU programming basics and beyond. This does go on to discuss the O-O concepts (and other more sophisticated ones), but, yes, I will need to write some basic code first if only to knock off some rust ! The articles are headed "Principles of Execution" on the "" site. I think their webserver has been a bit 'glitchy' of late, so, several attempts may be needed to access these if you're interested...
1 Week Ago #3

Post your reply

Sign in to post your reply or Sign up for a free account.