12f675 probably a silly question


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Edmonton AB Canada
    Posts
    52


    Did you find this post helpful? Yes | No

    Default 12f675

    So, I'm confused. Why would you define the port as anything except a gpio?

    Also, I keep seeing statements at the top of the code that starts with "@", but when I put that in, the compiler gets all cranky..

    Gary

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


    Did you find this post helpful? Yes | No

    Default

    > Why would you define the port as anything except a gpio?

    Absolutely no reason at all. Unless you just want to be different.

    Sorry for the confusing variants.

    We're just having a little mental exercise about how many ways you could reference a pin on a 12F675. I guess your question provided a good place to have some fun.

    I think everyone will agree that GPIO is the proper way to go. But knowing if there's something better is .. well, better.
    <br>
    DT

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Meriachee
    So, I'm confused. Why would you define the port as anything except a gpio?

    Also, I keep seeing statements at the top of the code that starts with "@", but when I put that in, the compiler gets all cranky..

    Gary

    Meriachee,

    If you like to see how it goes, try posting a working code say 20 lines, and then ask here that you need the code with less code size.

    And then watch what will happen.


    -------------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yeah sometimes it disgress a little bit

    Nice one Paul
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Extreme Noobie question 12F675
    By Jeff in forum mel PIC BASIC
    Replies: 11
    Last Post: - 22nd September 2009, 02:13
  2. Still 12F675 question
    By F1CHF in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th August 2009, 22:09
  3. 12F675, MPLAB programming question
    By EASY in forum General
    Replies: 0
    Last Post: - 2nd April 2006, 20:28
  4. 12f675 programming question
    By puggy in forum General
    Replies: 3
    Last Post: - 1st December 2004, 00:34
  5. 12f675 internal osc question.....
    By Gabe@SPdFtsh in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th January 2004, 07:33

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