Sleep time


Closed Thread
Results 1 to 3 of 3

Thread: Sleep time

  1. #1
    Join Date
    Apr 2005
    Location
    Auckland/New Zealand
    Posts
    19

    Default Sleep time

    Hi all:
    I'm trying to adjust the post scaler on 18F1220:
    @__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
    to get more realistic sleep interval.
    The assembler is giving me an error (,)the comma seems to be an illegal symbol.
    I'm using micro code stdio as IDE & MPASM.
    Can anyone suggest why that's happening??

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


    Did you find this post helpful? Yes | No

    Default

    Change
    Code:
    @__CONFIG_CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
    
    to
    
    @   __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
    Note the spacing.
    Regards,

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

  3. #3
    Join Date
    Apr 2005
    Location
    Auckland/New Zealand
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Sleep time

    Thanks Bruce I will try that

Similar Threads

  1. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 09:00
  2. Serout2/serin2 Pbp Problem
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:55
  3. Wierd sleep issue
    By orca in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th March 2006, 22:06
  4. Sleep time
    By suded in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 12th May 2005, 23:15
  5. Sleep time
    By suded in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th May 2005, 05:28

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