Error: macro COUNT?TCT nor found in macro file.


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    2

    Unhappy Error: macro COUNT?TCT nor found in macro file.

    When I compile my programme that uses the COUNT function, the above error message comes up.
    I am using Pic Basic Pro v2.46 and Micro Code Studio to write and compile into a PIC 16F877 chip.
    Any ideas as to how I can overcome this problem ?

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    COUNT?TCT would mean you are counting the number of pulses on a pin (the first T), for a period specified by a (C)onstant, and placing the result in a BIT variable or Pin (the second T).

    Check the variable type in the Count statement.
    The result should go to a Word variable.
    DT

  3. #3
    Join Date
    Nov 2007
    Posts
    2


    Did you find this post helpful? Yes | No

    Smile

    Thanks for your lead - the variable nominated in the COUNT function was not appropriate.
    Thanks again for your help.

Similar Threads

  1. USBDemo, something to learn USB a little bit
    By mister_e in forum Code Examples
    Replies: 278
    Last Post: - 1st May 2014, 01:38
  2. Replies: 6
    Last Post: - 4th November 2009, 14:36
  3. ERROR: Macro MOD?TCB not found in macro file.
    By JohnP in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th February 2009, 20:10
  4. The ultimate include file
    By bearpawz in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 26th January 2007, 20:35
  5. Macro file
    By Mark Esper in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st March 2006, 21:53

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