Re: Microcontroller Project



akshaychander@xxxxxxxxx wrote:
Sorry for the late reply.

Yes, I have to do the project in 8051. I have studied the theory of
8051, but have very little practical experience.

As far as languages are concerned, there is no restriction. I am
planning on using C.

In that case a good C compiler will take care of most of the low level
8051 stuff for you.

I decided to try and implement the Hangman game itself. I have a rough
idea as to what I must do, though I am confused as to how to go about
it. Could you tell some good resources for 8051 programming in C on the
net?

If you are programming in C then your actual program will have little
to do with the 8051.
You could write the C program on a PC first, and then port to your
8051. Instead of writing to the screen you would turn on a LED on a
port of the 8051, so only a small part of your program should change
between a PC version and an 8051 version.

The advantage of using a high level language like C is that you
shouldn't have to care what micro platform it is used on.

If you need help with the C code then the 8051 is the least of your
problems.

On the other hand, if your subject is the 8051 micro and it's
architecture then you won't learn much by doing your program in C. I am
surprised your teacher is not forcing you to use assembler language.

Dave :)

.



Relevant Pages

  • Re: History of SSG and Symstream on 2200?
    ... advantages of Python. ... With the posting of the Windows port of SSG, I had thought it might be ... or indeed any other such scripting language ... So there is a "paradigm mismatch" between SSG and most modern scripting ...
    (comp.sys.unisys)
  • Re: primality
    ... written as a binary string is 00110001,00110010,00110011,00110100,00110101. ... below the level of your high level language. ... string you've written is the *ASCII* representation of 12345. ... not the high level language. ...
    (sci.crypt)
  • Re: VON NEUMANN VS HARVARD
    ... have one write and one read port and snooping isn't an issue. ... For single and double operand instruction sets the dcache will ... Tell me where in the C standard does the language allow you to ...
    (sci.electronics.design)
  • Re: Is anything spectacular going to happen around Delphi anymore?
    ... > versions until you are using it just as a language and used something ... Oh, I agree that it will take time to port this, but it also took time to ... able to use new technlogies with existing Delphis (heck, ... newer technologies for Win32 could probably even be programmed in Delphi ...
    (borland.public.delphi.non-technical)
  • Re: OT: OpenOffice not 100% compatible?
    ... It's not the language, it's the libraries; C++ is arguably just as easy to ... port between platforms as Java is -- possibly even more so. ...
    (sci.electronics.design)