Menu

C for Microcontrollers?

2003-02-02
2012-09-26
  • Nobody/Anonymous

    I know nothing about digital electronics but im willing to learn it.

    Is it true that nowadays it is not necessary full ASM knowledge to program microcontrollers and that it is possible to do it via ANSI C?

     
    • Nobody/Anonymous

      Heck, you can use BASIC for some units....

      http://www.parallax.com/html_pages/products/basicstamps/basic_stamps.asp

      All depends on the unit and what cross-compilers have been developed for it.

      This sounds like something you might have good luck, and some fun, doing a google search on.

      Wayne

       
    • José Jorge

      José Jorge - 2003-02-02

      it depends on the kind of microcontrollers. There are many kinds that have C/BASIC support, official or unofficial.
      For example, for PICS, you could program in Assembly, C (I have never found a good free compiler, but there are some comercial ones that are really good), or BASIC.

       
    • Anonymous

      Anonymous - 2003-02-02

      What micro do you intend to use?

      A really good and low cost PIC development system is available from http://www.fored.co.uk/

      GCC is available for AVR here http://combio.de/avr/. (and many other places, but this one has Win32 MinGW based binaries that do not require cygwin). This has the advantage of being able to integrate easily with Dev-C++.

      There is also a free RTOS for AVR that works with GCC http://www.barello.net/avrx/

      Many 'free' C compilers for microcontrollers are code-size limited versions of commercial compilers for evaluation or educational use.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.