PBP Book


Closed Thread
Results 1 to 40 of 84

Thread: PBP Book

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    I really like the idea of a printed book. For me they are easier to read and more portable.

    As far as content: I really think there should be a programming practices, methods, and conventions section. One idea would be PICBasic "standard practices." Writing simple programs that blink an LED are simple and easy when you start scaling up from there you start running into interrupts, timers, and code size issues. There is no documentation on how to layout a program logically, what methods to use, or the big picture of embedded programming. I think a big overview of good programming practices might be nice, basically dos and don'ts of PICs and programming.

  2. #2
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Great Job Bruce.

    Hi,

    While PBP makes your life easier as stepping into the world of PIC micros it does have its own shortcomings while developing professional applications. I would like to have a PIC primer first that lets even newbies touch your book. Then lets enter into solutions with simple problems. Now addup where PBP loses. Speed, Codespace utilization, Interrupts, coding style to name a few. For example when you toggle a port.bit (14bit) it always touches the TRIS registers which is unnecessary in terms of code, execution speed. I would then like to have stuffs that could make life a little bit easier like ready code+circuit snippets.Reading a datasheet is not a big deal if you have at least read one thorouhgly. Architecture remaining please try to build a foundation stone for the readers. If it is on a CD-ROM then have some nifty utilities on-board , like auto code snippet generator. If I am asking too much then I am still dreaming and the tranculizers that I took last night are still active
    Regards

    Sougata

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Bruce i feel you'll need to do more than one book now

    1. an introduction to PIC and Datasheet
    2. an introduction to PBP and command explanation
    3. an introduction to PIC programming using PBP
    4. General programming tips
    5. Hardware consideration using PIC
    6. How to write program on a PIC using your fingers, a keyboard, a PIC programmer and a PC...OK just kidding for that one

    PWM, CCP, TIMERs, Interrupts and ALL internal PIC stuff should be covered in details.. oh well that's still in the 'How to read and interpret datasheet' or in the 'Introduction to PIC'

    Glad to see you'll do it for Melabs Compiler
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. PBP, ASM and LST files
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th January 2010, 13:43
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. how to get the PBP book in malaysia?
    By PoTeToJB in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd March 2006, 09:27
  5. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30

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