12F683 - how to set it to use external 4 MHz clock?


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    TURKIYE-KONYA
    Posts
    51


    Did you find this post helpful? Yes | No

    Default

    - xt_osc is an illegal opcode


    i think you use mpasm.

    USE PM.

    DONT SELLECT "USE MPASM BOX" AT THE COMPILE AND PROGRAM OPTIONS.

  2. #2
    Join Date
    Sep 2009
    Location
    South Wales (UK)
    Posts
    62


    Did you find this post helpful? Yes | No

    Default

    It progressess!

    It's actually picbasic pro compiler 2.50 I'm using. I unticked 'use mpasm' box as you suggested.

    Now it says "Error TEST.ASM 47 : [235] opcode expected instead of _xt_osc"

    ???!

  3. #3
    Join Date
    Jul 2008
    Location
    TURKIYE-KONYA
    Posts
    51


    Did you find this post helpful? Yes | No

    Default

    Remove "_"

    use
    @ device xt_osc
    Attached Images Attached Images  
    Last edited by mehmetOzdemir; - 25th September 2009 at 13:58.

  4. #4
    Join Date
    Sep 2009
    Location
    South Wales (UK)
    Posts
    62


    Did you find this post helpful? Yes | No

    Default

    ARGHHHHHHHHHHHHHH

    ...and I thought that I'd tried every conceivable combination of @ / device / + or - _ !!!

    Many thanks for that.

    Best regards

    Mark

Similar Threads

  1. Interruptus Frustratus
    By Byte_Butcher in forum General
    Replies: 16
    Last Post: - 17th April 2009, 20:36
  2. Using SPI with External Interrupts
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th June 2008, 04:08
  3. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  4. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31
  5. How to set external clock source in PBP
    By TurboLS in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 19th February 2005, 15:56

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