what on earth can I be doing wrong?


Results 1 to 8 of 8

Threaded View

  1. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Make it even simplier:
    Code:
    trisb = 0
    main:
    portb.0 = 1
    pause 500
    portb.0 = 0
    goto main
    No variables, no nothing to mess with anything...

    And strangely, my logic probe records a high on RC6. Which is strange since I don't think I've bothered with Port C in any way
    It's floating... All (ok, most) pins are set to input on RESET so they don't load down the external circuitry (well, that's one reason anyways). So, it's probably floating. I'd be willing to bet if you put a 'scope on it, grounded out the pin with a 1k resistor, it would go to 0v, then when the resistor was pulled away, it would rise 'slowly' back up to 5v.

    Or have I found a brand new way to be confused?
    Yep...you have...
    Do a search on config bits and presetting, etc. There's a bunch of threads on presetting config bits and clock settings, etc.
    Last edited by skimask; - 8th February 2008 at 21:19.

Similar Threads

  1. What am I doing wrong?
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th October 2009, 20:46
  2. WRITECODE stores wrong 14-bit word values in FlashMEM
    By BobPigford in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 26th June 2009, 05:35
  3. LCD Showes Some Wrong Letters
    By sbobowski in forum General
    Replies: 2
    Last Post: - 23rd September 2008, 20:15
  4. HSERIN/OUT Wrong
    By Kaldurenik in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th October 2007, 11:40
  5. ADCIN - AD settings are wrong
    By teverett in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th December 2006, 17:32

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