Read the newbee threads, 16F877A no go.


Closed Thread
Results 1 to 40 of 40

Hybrid View

  1. #1
    BobbyA's Avatar
    BobbyA Guest


    Did you find this post helpful? Yes | No

    Default Reply to Ralph

    Quote Originally Posted by NavMicroSystems
    See PBP Manual Appendix B "Defines"

    EDIT:
    ok, Steve was faster (as most of the time)
    Hi Ralph,

    Actually I did read quite a bit before coming to the site and forums for help.

    The less comprehensive the books the more room for interpetation.
    Does:

    DEFINE BUTTON_PAUSE 10 mean that only 10 ms is the acceptable period.

    DEFINE HSER_TXSTA 20h mean that 24h is an illegal number.

    DEFINE OSC 4 mean that 3(3.58) 4 8 10 12 16 20 24 25 32 33 40 are the only acceptable numbers.

    All of these are from the appendix you mention.

    Point of this is until you know the tools or the manual tells you, you really won't know if the tool calculates the intervals from the number you enter or looks it up from a table, or something else completely. Or can only handle integers for that matter.
    I do appreciate the help though.

    Best Regards,
    Bobby

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BobbyA
    ...The less comprehensive the books the more room for interpetation.
    Does:

    DEFINE BUTTON_PAUSE 10 mean that only 10 ms is the acceptable period.

    DEFINE HSER_TXSTA 20h mean that 24h is an illegal number.

    DEFINE OSC 4 mean that 3(3.58) 4 8 10 12 16 20 24 25 32 33 40 are the only acceptable numbers.

    All of these are from the appendix you mention.
    I agree,
    in some things the Manual is not very clear.

    The OSC Table is mentioned in Section 5.51 as well without clearly telling you these values are the only ones to be used, but it refers to the "Section on Speed".

    and
    Section 7.1 "How fast is fast enough" clearly says:

    The acceptable oscillator definitions are...
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 15:46
  2. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 08:14
  3. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 12:20
  4. Q: using MCLR for Input on 12F683
    By picster in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 31st January 2009, 16:25
  5. Changing declared variables names on the fly
    By jessey in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 16th December 2006, 07:34

Members who have read this thread : 0

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