I have a relative skill in C#and VB, but I am new in arduino. I want to learn C++ and C, but about arduino and micro-controller, not about computers, can anyone provide me with good educational resources?
How about the very first post in this forum? ![]()
Useful links - check here for reference posts / tutorials
Hi,
I think this is a good choice:
Beginning C for Arduino

It is specifically Arduino and hardware oriented and well done by a great author. It has Arduino-specific code examples..
DISCLAIMER: I am the Technical Editor of this book...
Read loads of examples, dare to open the Arduino core files and library source code and library examples, most of it was written by competent people, so you'll learn a lot by trying to understand how they implemented certain features. If you don't understand some of it, look it up or ask it on the forum.
Try to stay away from code found on Instructables or YouTube.
Of course you need a solid base to start with, but there are plenty of books and online articles that cover the basic concepts.
Pieter
I reckon if you know how to program in any language you will have knowledge of the concepts of programming that can translate to any other language. There is a huge amount that is common, even if the specific details are different.
If you are familiar with programming on a PC I think the biggest difference for an Arduino is the change of mindset necessary when there is only 2k of SRAM,
...R
I agree that once you know the basic concepts of variables, loops, and conditional execution, it's not hard (or as hard) to learn another programming language.
Note that the Arduino does NOT run standard [u]ANSI/ISO C/C++[/u]. Standard C++ expects you to have a keyboard, screen, and file storage. And, standard C/C++ does not include commands for reading/writing digital or analog I/O pins, etc.
But, Arduino C++ is pretty easy to get started with. It won't take you too long to read-through the [u]Arduino Language Reference[/u] and a couple of examples, and you should be on your way!
ANSI/ISO C++ is HUGE and the only book I've seen that covers the entire language is printed ANSI/ISO language standard itself. And even though there's a lot to it, the standard language doesn't include things like graphics, color, or the mouse... Those are handled with additional libraries.
Arduino links.
Watch these:
Some things to read:
https://learn.adafruit.com/category/learn-arduino
https://learn.sparkfun.com/tutorials/how-to-read-a-schematic
http://playground.arduino.cc/Code/AvoidDelay
https://forum.arduino.cc/index.php?topic=384198.0
https://learn.sparkfun.com/tutorials/using-the-logic-level-converter
http://arduino-info.wikispaces.com/
.
thanks a lot for your helps!