PORTC Compiles for 16F628A


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Default PORTC Compiles for 16F628A

    Code:
    SecondLED  VAR PORTC.0      ' LED flashes per second.
    I compile this for 16F628A and I neither get error nor warning!
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Maybe there is a hidden pin
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink

    Quote Originally Posted by sayzer View Post
    Code:
    SecondLED  VAR PORTC.0      ' LED flashes per second.
    I compile this for 16F628A and I neither get error nor warning!
    Hi,

    You can do that as an alias is just an alias ...

    BUT try to do something with "SecondLED" ... and the compiler will send you the error lines !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. MY FIRST scrolling 8X8 LED
    By earltyso in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th August 2008, 16:23
  2. How do I configure the PIC16F737?
    By LinkMTech in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th November 2007, 23:05
  3. Changing from PORTC to PORTA Problems
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 13th December 2005, 21:11
  4. Can anyone help a beginner in a struggle?
    By douglasjam in forum mel PIC BASIC
    Replies: 1
    Last Post: - 5th May 2005, 23:29
  5. DS18B20s on 876 portc
    By anj in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 7th May 2004, 04:52

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