I/O Pin status during startup


+ Reply to Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Jul 2024
    Posts
    28


    Did you find this post helpful? Yes | No

    Default Re: I/O Pin status during startup

    Hi Richard, thanks for the help.

    Regarding the drawing...will try to get it and post here.
    In the meantime here are the answers:

    are the leds connected to gnd or vdd ?
    The LEDs are connected to ground


    are the leds powered by the same supply?
    Yes, same power supply as the MCU

    what size is the led series resistor ?
    It's 500ohms for a SMD LED

    and what does actually happen compared what you expect to happen
    The same moment that i turn the power on, the LEDs turn on and then off very fast.
    After some seconds (when the code kicks in) the LED animation starts.

    I expect the LEDs not flash when turning the power on and only turn on when the code kicks in.

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,680


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: I/O Pin status during startup

    before you go to too much trouble try what henrik suggests

    clear all output ports before setting the tris registers and lose that delay in between
    Warning I'm not a teacher

Similar Threads

  1. How can I store the status of a pin?
    By Stargazer3141 in forum General
    Replies: 2
    Last Post: - 3rd December 2010, 23:59
  2. Issue with 16F88 startup
    By Plcguy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 21st October 2010, 16:11
  3. Startup on power up pic16f886
    By CESSKO in forum Test Area
    Replies: 0
    Last Post: - 14th April 2010, 13:26
  4. 7 second delay on startup
    By Russ Kincaid in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd March 2006, 02:46
  5. 12F683 Startup
    By GregK in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th March 2005, 01:25

Members who have read this thread : 20

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