Any language you want, as long as you end up with a .hex file that you can tell AVRDUDE to upload into the board.The examples in the '328P and other Atmel data sheets are all written in assembly language or C.C++ is not that hard to learn, the IDE I think does a pretty good job of making it seem like fancy BASIC.

I´m learning BASIC for programing AVR chips on school, and I was interested on learning Java too.

Let me give you an analogy ...

Let's say you are planning to visit Russia, and you don't speak Russian. It would be logical to learn Russian, right? But a friend says "why not learn Greek? - some people in Russia speak Greek". Now you could do that, and it would work in a limited sort of way. But learning Russian is smarter, yes?

The fact is that 99% (if not 99.9%) of programs for the Arduino are in C++. That isn't a particularly hard language to learn. Almost all of the libraries, example code, projects, etc. are in C++. That is the "native" programming environment. Yes, I know you can turn Basic into .hex code if you find a compiler, but where would that be?

If you choose to go down the Basic route, you have abandoned most of the examples, help, libraries, etc. that you will get if you stick to the language used by the Arduino IDE. Even the examples in the Atmel datasheet are in C (and machine code).

Please post technical questions on the forum, not by personal message. Thanks!

Bitlash is an interpreter and command shell for a tiny language that runs entirely on Arduino. It's my take on what a modern beginner's language would look like on a '328-class machine.

Bitlash is easy to learn and teaches good stepping-stone habits for the C++ environment. You can extend the language by defining functions from the command line, or by integrating Bitlash into your sketch and exposing your C functions to the Bitlash language.

Bitlash is an interpreter and command shell for a tiny language that runs entirely on Arduino. It's my take on what a modern beginner's language would look like on a '328-class machine.

Bitlash is easy to learn and teaches good stepping-stone habits for the C++ environment. You can extend the language by defining functions from the command line, or by integrating Bitlash into your sketch and exposing your C functions to the Bitlash language.

Code and documentation at http://bitlash.net

-br

I know C++, it was the first thing I learned, but I wanted to use BASIC or JAVA.

We are learning BASIC to program microcontrollers, but it would be good if I could use BASIC to program arduino, so I could practice BASIC. We are using BASCOM-AVR, but BASCOM cant be used for arduinos I think.

We are learning BASIC to program microcontrollers, but it would be good if I could use BASIC to program arduino, so I could practice BASIC. We are using BASCOM-AVR, but BASCOM cant be used for arduinos I think.

If you want to practice basic, practice basic. Use visual studio, or write some VBA in Excel. Trying to find a way to use it with the Arduino seems like a lot of effort for little reward. If you really want to use basic with a microcontroller, look at the netduino - it's focus is C#, but I wonder if VB.net would be usable too.

But, PICs are programmed using Basic, so head down the road and get one or two of them. When you find yourself frustrated by all you can't do, and are ready for a real language and processor, come on back.