6 MHz Osc and PauseUSL errors


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Some PBP library functions rely on the OSC value defined. If you define one that's not
    supported
    , you get this error.

    You need to define an ocsillator speed that's supported by PBP to make things work as
    expected.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    If you define one that's not
    supported
    , you get this error.
    OSC 6 is not supported but OSC 12 is ... you might want to see if you can get away with that.

    If you use OSC 12 define (but use 6 MHz Xtal), then, for example

    Pause 500 ' really is 1000 since PBP thinks you have 12MHz but you have 6 MHz
    Serout with 19,200 baudrate will really be 9,600
    etc.
    You can correct time critical commands by a factor of two but leave everything else unchanged - see manual (online version, see section 7.1)
    HTH
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

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