microcontroller code help

Status
Not open for further replies.
Your question is kind of generic. There have been entire books written on embedded programming. Depending on your experience and the tools available you can write code in a number of different laguages (C, Pascal, Basic, assembly, etc). Do a google search for "PIC programming tutorial" and you'll find many links like written by one of the mods here. If you come up with a more specific question while going through the tutorial feel free to come back and ask about it. Also FYI, there is a micro-controller forum on this site that is probably better suited for this question. Good luck.
 
Thanks and what's the most common laguage ? I have multisim and I would like to start programing there. I think there are Hi-tech C51-lite compiler and 8051 Metalink assembler. what is for what and wich is better ?

thanks again
 
Hi-tech C51 - I know that compiles for PICs, not sure about 8051
8051 Metalink assembler - It's for the 8051

I only have experience with PICs so I can't comment on the 8051 but as far as which language is the best well, that's kind of a matter of opinion. I use C and assembly and you can learn either one first. I have MikroC but Hi-tech is an OK compiler too. I haven't played with Multisim before but my understanding of it is that it is a circuit simulation software package. My point is, even if you're simulating a microcontroller circuit, you probably won't develop your code in Multisim. You will probably write the code in a standalone IDE, compile it, and then just load the .hex file into Multisim to see it emulated. I could be wrong but that's my guess.

Long story short, there are no real right or wrong answers to your question. You're asking for opinions. What you're going to have to do it just pick one and jump in. As you work through a few tutorials the pieces will begin to fall into place and then eventually you'll build your own preferences.

Also, you might get more response to this thread if you posted it in the micro-controller forum. You can either ask a mod to move it for you or repost in there.
 
that is all what i wanted to know. And yes for the start I will use multisim 11 for compiling the C and assembly codes.

thanks
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…