ADC not working - I'm a new member


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Location
    Kwa Dukuza, South Africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: ADC not working - I'm a new member

    Thanks Dwight - that will sort me out once I've got my Microchip PICKit 2 dongle to start working again. The fault with the dongle seems like it may be electronic, not software.

    When I started this thread, I didn't have a MAX232 rigged up but I do now so from now on I can use the debug

    Kind regards from Kwa Dukuza

    John Bond
    Last edited by johnbond; - 19th June 2011 at 14:02.

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


    Did you find this post helpful? Yes | No

    Default Re: ADC not working - I'm a new member

    Check out the PBP manual under DEBUG.
    Then look at
    DEFINE DEBUG_MODE X 'X being 0 or 1 - TRUE or INVERTED
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jun 2011
    Location
    Kwa Dukuza, South Africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: ADC not working - I'm a new member

    Thanks for that "Heads-Up" Dave. I am scared of PC Com Ports after I got a 100V shock from one (half our 220V phase). I prefer using a MAX232 to a fried PCB. We tend to get Kong Fu PCs here and you never know what fascinating undocumented features are included. Maybe it's just Chinese revenge

    Regards form the dark continent - Africa
    John Bond

  4. #4
    Join Date
    Jun 2011
    Location
    Kwa Dukuza, South Africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: ADC not working - I'm a new member

    OK Dwight, so you're a Gentleman! Thanks for that neat code. I works like clockwork

    I now understand both ADC and DEBUG!

    Regards from Kwa Dukuza on the dark continent of Africa
    John Bond

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts