New to PIC Programming


Closed Thread
Results 1 to 4 of 4
  1. #1
    Keiou's Avatar
    Keiou Guest

    Question New to PIC Programming

    Can anyone out there help me? I'm new to PIC programming and i would like to know which would be a better approach. Will I do in terms of assembly or PICBasic. Is PICBasic similar to visual basic? And lastly what the difference between PIC BASIC Compiler and the PIC BASIC PRO Compiler? which is better.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    If you have a knowledge of any of the BASIC's, then PICBASIC will allow you to quickly put together programs for the PIC microcontrollers without having to learn Assembler. Naturally, if you are comfortable with Assembler, then you needn't bother spending your money on PICBASIC, however, you will still be able to program PIC's much quicker with PICBASIC than you would with Assembler. If time is money, then PICBASIC is a good investment.

    PICBASIC PRO has many useful features not found in the basic offering. You will soon wish you has purchased the PRO. Go to the MeLabs website www.melabs.com and compare the two, then decide for yourself.

  3. #3
    Keiou's Avatar
    Keiou Guest


    Did you find this post helpful? Yes | No

    Default

    Thank you very much. Just today I bought a book, programming PIC microcontollers with PICBasic. Its a good book but it didnt include the PICBasic. Can you point me where can I download a demo version or something. Thank again.

  4. #4
    Desterline's Avatar
    Desterline Guest


    Did you find this post helpful? Yes | No

    Default

    There's a demo available on the MELabs website. They also have a link there to an on-line compiler.

    http://microengineeringlabs.com/pbpdemo.htm

    There are lots of differences between the basic and pro versions, but the ones I found most limiting with the basic version was the 2K code limit and the fixed 4mHz oscilator requirement. (The pro version being limmited only by the device capabilities.)


    There are some syntax similarities to VB, and even a few keywords and constructs (if-then, select case, etc) But there are also some huge differences.

    PBP does not support "functions" or "subs" in the way that VB does. PBP revives the older BASIC constructs of Gosub/Return and GOTO. Not to mention that all variables are global.


    In practice though, I didn't find the transition between VB (VBA in my case) to PBP to be very difficult.

    Hope that helps
    -Denny

    P.S. See Melanie, you don't have to answer them all. 8^)

Similar Threads

  1. Want to learn GSM & PIC programming
    By financecatalyst in forum GSM
    Replies: 5
    Last Post: - 25th February 2014, 09:22
  2. PIC programming algorithm - where is it to find?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th June 2007, 18:31
  3. Multiple PIC programming
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 7th May 2007, 23:47
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14
  5. Pic to Pic programming
    By TONIGALEA in forum General
    Replies: 5
    Last Post: - 7th August 2004, 13:44

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts