Question

Hi guys I'm Andrija (Andrew). I have a one question. What is the easiest way to learn arduino programming?

Hi,

Everyone has a different learning method /curve.

Some learn best by reading books first, some by following web based tutorials like the one below or follow the Example sketches in the Arduino IDE.

I used them all, but find if you have an actual project to create it helps to motivate you more.

As has been said, everyone is different.

I have used a few different programming languages over the years but C++ was new to me. Because of previous experience I was OK with concepts such as for loops, while loops, if/else, arrays etc so my main hurdle was learning the C++ syntax.

Initially I did that by loading examples, running them and changing them. Then I set myself objectives such as blinking 2 LEDs at different rates. I read a lot of the posts here and learnt from the code posted, the problems experienced and the answers given.

It was only at that stage that I got a C++ book out of the library to read more about it. These days I find the Web the most useful source of information. Be aware that the Arduino environment is not quite the same as a plain C++ environment.

I know basics of Java progamming but arduino processing is strange to me. Thanks for replies.

arduino processing is strange to me

As a matter of interest what do you find strange ?

I know nothing of Java but it surely has all the same logic constructs that C++ has, can call functions with parameters and that the functions can return a value to the calling program.

Petric01:
I know basics of Java progamming but arduino processing is strange to me. Thanks for replies.

Arduino is Wiring, based on C/C++, whereas Processing is based on Java.
If you know Java, I really can't see you having too many problems picking up C/C++.