Leaves the mainloop???


Closed Thread
Results 1 to 40 of 46

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Leaves the mainloop???

    BTW ...

    What kind of load do you intend to drive ???

    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 " !!!
    *****************************************

  2. #2
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73


    Did you find this post helpful? Yes | No

    Default Re: Leaves the mainloop???

    The schematic shows it drives 2 P channel Mosfets which supply power to a resistor load. - the 10k and 6k on the collector drive the gate when the npn is on.

    The odd thing about this is when it powers up with resistor load attached - it will not drive the base of the npn. Release load and re-apply load - it stays on and works..

    I tried this code this w same results - it tries to turn on the npn but cant, green led flutters on and off - release the load - green led turns on steady - re-apply load - it drives the npn. WTH...

    MAIN:
    FET = 1
    GREEN = 1
    GOTO MAIN
    END
    Last edited by pescador; - 1st June 2023 at 13:27.
    My dad never liked you...

Similar Threads

  1. Time taken to do mainloop
    By Gerald in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th March 2023, 15:16
  2. Outside the Mainloop
    By pescador in forum General
    Replies: 10
    Last Post: - 26th April 2016, 18:34

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