need a project for PIC16F84


Closed Thread
Results 1 to 7 of 7

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Danish... do you have a manual for the Compiler? If you haven't, then it's time you downloaded one. Go to the MeLabs website and find it.

    You will then discover that the word SYMBOL dos not insert a value into the TRISB Register (as your comments suggest), but assignes a new NAME or ALIAS to a Variable, Register or PinName to make code more readable. You get an error because you are trying to redefine the same name TWICE... look the compiler is TELLING YOU this...

    ERROR Line 13: Attempt to Redefine 'TRISB' (2SWITCH.BAS)

    The compiler really is pretty good... it gives you a clue as to where your problem is, it's up to you to then analyse your line for the error.

    If there is one thing I will recommend, is that you do not blindly copy other peoples code without checking LINE by LINE with the manual as to what it does.

    PS... Patience. One posting of your question is fine... any more than that does not solicit any quicker responses.

  2. #2
    Danish's Avatar
    Danish Guest


    Did you find this post helpful? Yes | No

    Smile thanks melanie

    thanks melanie
    i tried what you said and everything seems to be working fine

    onece again thanks

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 21:58
  2. A Temperature & Humidity Data Recorder Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 9th July 2008, 19:47
  3. paying project i need done
    By n1cod3mus in forum General
    Replies: 7
    Last Post: - 13th October 2007, 06:58
  4. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 21:35
  5. A category for Project Ideas
    By Pic_User in forum Forum Requests
    Replies: 2
    Last Post: - 23rd June 2006, 08:29

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