help with microchip code

Discussion in 'The Projects Forum' started by ht systems, Aug 13, 2011.

  1. ht systems

    Thread Starter Member

    Aug 2, 2011
    71
    1
    hello everyone , i just wanna ask whats the best language for pic microchip ? is it assembly or c++ code ? thanks anyway :)
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,447
    3,363
    The answer is yes.
     
  3. ht systems

    Thread Starter Member

    Aug 2, 2011
    71
    1
    which one is easier ? and whats the best ?
     
  4. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,792
    948
    The one you know is easier

    The one you know is best
     
  5. ht systems

    Thread Starter Member

    Aug 2, 2011
    71
    1
    thank you so much for advices
     
  6. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,792
    948
    C++ is usually considered an easier language to learn than assembly, if you don't know either one.
     
  7. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Except I don't think there ARE C++ compilers for PICs. They're all C compilers.
     
  8. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,792
    948
    I didn't know that...till now.

    Thanks Sgt
     
  9. ht systems

    Thread Starter Member

    Aug 2, 2011
    71
    1
    thank you all for helping me , i guess im gonna learn c code language
     
  10. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,392
    1,606
    Sourceboost has a C++ PIC compiler, but straight C is all you should ever need.
     
  11. MrChips

    Moderator

    Oct 2, 2009
    12,447
    3,363
    Take it from me, learn asm first.

    There are only 10 types of people in the world - those who understand binary and those who don't.
     
  12. CraigHB

    Member

    Aug 12, 2011
    127
    15
    I still use ASM mainly. It just seems easier to me, but I haven't done any real big programs. The biggest I've done is only a couple thousand lines, but I bet it could be written in a quarter of that with C. Assembly is pretty tedious a lot of the time, but I like being close to the processor. There's no machine code inserted transparently by a compiler.
     
Loading...