What Microcontroller Language do you prefer?

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.

What microcontroller language do you prefer?

ASSEMBLER
10
17%
BASIC
12
20%
C
26
44%
JAVA
2
3%
PASCAL
1
2%
SPIN
2
3%
PLC (Ladder Logic)
2
3%
Other
3
5%
I Don't Program
1
2%
 
Total votes: 59

User avatar
ptribbey
Posts: 51
Joined: Mon Aug 19, 2002 1:01 am
Location: Superior, WI
Contact:

Re: What Microcontroller Language do you prefer?

Post by ptribbey » Wed Jan 27, 2010 9:33 pm

At tech school in 1984 we used assembler on custom 8080 machines. I got pretty good at it.
It seems to me that a BASIC compiler such as Proton or PicBasic with as needed assembly routines is the way to go, at least for the hobbiest writing relatively small code.
It is fast and easy to use, and free for the trial versions.
Also, the Picaxe micro is outstanding. It has the compiler/tokenizer? built right in and comes in a dozen flavors.

I am learning C, it is an ongoing project. My inspiration is Joe Pardue in the N&V column Smiley Micros. The C Language does not come easy to me. It seems way more picky than BASIC, but I will keep learning.
I voted Beginners All purpose Symbolic Instruction Code in the poll.
That is just about my two cents worth on that.

Paul

bodgy
Posts: 1044
Joined: Tue Dec 04, 2001 1:01 am
Location: Australia
Contact:

Re: What Microcontroller Language do you prefer?

Post by bodgy » Fri Apr 02, 2010 8:30 pm

I tend to write all my programs in either C or structured Basic (Basic that looks and behaves like C), however in my opinion you still need to learn the assembler for your microcontroller for the following reasons.

1. It makes it easier to debug your code when your program doesn't do what you thought it would.

2. Not all compilers are created equal, so if efficient in terms of either speed or space are concerned it is worth knowing what assembler your compiler produces. I have a C compiler where a = a + 1 does not produce the same assembler as a++ or ~a the same as !a.

3. Some parts of the code might need to be written in assembler for speed purposes.

4. Not all compilers will have built in instructions for example accessing memory or startup code, in which case assembler has to be used.
On a clear disk you can seek forever.

stevech
Posts: 138
Joined: Mon Jun 05, 2006 10:27 pm
Contact:

Re: What Microcontroller Language do you prefer?

Post by stevech » Mon May 03, 2010 9:51 pm

Knowing C for embedded makes you much more employable, if that's your need.

Changie
Posts: 1
Joined: Wed Jul 07, 2010 8:59 am
Contact:

Re: What Microcontroller Language do you prefer?

Post by Changie » Wed Jul 07, 2010 11:36 am

I have just started going to school for programing and most of the ones on your list ar not even taught at my school. So I guess I will will have to do more homework on my own to learn them. I did not know all of these were even out there.

bodgy
Posts: 1044
Joined: Tue Dec 04, 2001 1:01 am
Location: Australia
Contact:

Re: What Microcontroller Language do you prefer?

Post by bodgy » Sun Jul 11, 2010 5:20 am

Changie wrote:I have just started going to school for programing and most of the ones on your list ar not even taught at my school.
Out of interest which programming languages are being taught?
On a clear disk you can seek forever.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests