Connect with us

programming

Discussion in 'Microcontrollers, Programming and IoT' started by donkey, Jul 14, 2012.

  1. donkey

    donkey

    1,286
    56
    Feb 26, 2011
    Hey people. Am looking for sites that can help expand my knowledge of c programming. if anyone has a site please link below, it might prove useful in the future too.
    Also any sites for BASIC would be appreciated.
    And can anyone tell me if microcontrollers use any other languages to compile?
     
  2. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    Off the top of my head...

    BASIC (for PIC microcontrollers)

    http://www.picbasic.co.uk/forum/forum.php
    http://www.protonbasic.co.uk/forum.php
    http://www.sfcompiler.co.uk/forum/
    http://www.mikroe.com/forum/
    http://www.picaxeforum.co.uk/forum.php (with proprietary bootloader)

    C (for PIC microcontrollers)

    http://forum.htsoft.com/all/ubbthreads.php
    http://www.ccsinfo.com/forum/
    http://www.mikroe.com/forum/
    http://www.microchip.com/forums/

    Pictorial Flowchart with a splash of C (for PIC microcontrollers)

    http://www.matrixmultimedia.com/mmforums/index.php

    Pascal (for PIC microcontrollers)

    http://www.mikroe.com/forum/

    Assembly (for PIC microcontrollers)

    http://www.microchip.com/forums/

    Old School but a lot of good stuff in the archives...

    http://www.piclist.com (for PIC microcontrollers)
     
  3. donkey

    donkey

    1,286
    56
    Feb 26, 2011
    Coca cola as always an insightful and knowledgeable answer.
    I see PIC again but is there really much difference between programming different microcontrollers?
    I thought it was more knowing pin layouts and what is connected where then alternative C languages
     
  4. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    Yeah, well I use PICs most often so I have a better grasp of what is out there for them...

    As far as AVRs I would say the WinAVR (AVR-GCC ) suite is probably the most popular choice out there, seems like every time I come across an AVR program it's setup for WinAVR... And that it's C...

    http://www.mikroe.com has the same BASIC, PASCAL and C compilers for AVR as they do for PICs...

    Hop between their AVR and PIC (or even other micro) forums/literature and look at the sample code to get an idea on the differences, most of it will be in the front of the program setting up everything...

    At the core no, most of the program is the same, it's setting up variables, addressing the correct pins, registers among other things between each system...

    Once you get familiar with the language and the chips, porting between micros is pretty each most of the time, there are different quirks that have to be worked out but it's mostly painless...
     
  5. MangoKid

    MangoKid

    7
    0
    Dec 17, 2011
  6. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    There are lots of PIC developer boards out there, the same company I linked above Mikroe has some great ones with built in programmers and IDE...

    And that goes hand in hand with the article you linked since they are using the Mikroe compiler already, seems like the obvious choice in this case...
     
    Last edited: Sep 28, 2012
  7. Bondo86

    Bondo86

    15
    0
    Oct 10, 2012
    I'm going through a tutorial from learncpp.com right now. Seems pretty good.

    Not to get to off-topic about MangoKid's comment, but NerdKits.com makes some good PIC kits that are expandable.
     
  8. donkey

    donkey

    1,286
    56
    Feb 26, 2011
    the difference between c and cpp is enough to make you frustrated at times. I found c to be the standard language for most controllers so will use that for now
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-