GP3 Funtion on PIC10f202


Closed Thread
Results 1 to 8 of 8

Hybrid View

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


    Did you find this post helpful? Yes | No

    Thumbs down Boooooooo ....

    Hi, Kessral

    The surprising thing is you have configured GPIO.3 as an output ( trisio.3 = 0 ), and you intend to read it's state ...

    Moreover, What is ... very annoying is you directly tie an output to ground or VCC ...

    Not so good, yeah ...

    hope you didn't fry it ...

    always use a series resistor ( 1k ) whan you tie a pin to supply rails ...

    Alain

    PS : at the next one like this one, your surname will turn into " Casserole" ... lol.
    Last edited by Acetronics2; - 6th March 2009 at 15:06.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  2. #2
    Join Date
    Jan 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    I upgraded to v8.15 and same problem still exists.

    on the PIC10f series GP3 is input or MCLR only and can never be an output. Default setting for GP3 on TRISIO would be 1, which is MCLR so I would assume that setting it to 0 would make it the only other setting it supports (Input only) maybe I am wrong, but I only placed that in the code after trying other methods.

    I do use a resistor (at least 1k but usually much more) to pull GP3 to ground to send in a low, but at that point the chip just draws current as if in normal operation but all output functions cease (as in the LED no longer blinks and no outputs from GP0 exist)

    This is telling me that GP3 is never actually getting set to input only but is staying as MCLR.. I have tried in the past to no avail, I am basically starting fresh with it now and hoping for help lol

Similar Threads

  1. problem with variable on PIC10f202
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th October 2009, 17:29
  2. PIC10F202 Variable trouble
    By George in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 13th October 2006, 02:14
  3. using gp3 12f629
    By grounded in forum Schematics
    Replies: 4
    Last Post: - 23rd August 2005, 21:15
  4. Problem with Picbasic Pro and PIC10F202, PIC10F206
    By mikaljan in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th May 2005, 21:02

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