Going backwards, can't even get a basic blinky working now


Results 1 to 27 of 27

Threaded View

  1. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Going backwards, can't even get a basic blinky working now

    It gets dumber still.

    I use this code in parallel with a 18F4550.

    Code:
    INCLUDE "ALLDIGITAL.pbp"        ; Set all pins as digital
    
    TRISD = %00000000
    PORTD = %00000000
    
    PAUSE   2000      
    
    START:  PORTD = %10101010
            PAUSE   500      
            PORTD = %01010101
            PAUSE   500      
    
            GOTO    START
    Finish: end
    It compiles and works just fine on the Lab X1.

    It compiles on the breadboard, but doesn't run.

    I move it to the Lab X1, the darn thing runs fine...?

    ---------------------------------------------------

    3 ICs of 16F877 compile, but don't do nothing (including a new one from my stock).

    1 of the old ones compiles and runs on the Lab X1, it does nothing on the breadboard.

    Robert



    EDIT: Oh yeah, I'm using my "weirdo" cable for my X1, and my new cable for the breadboard.
    Last edited by Demon; - 2nd May 2023 at 00:35.

Similar Threads

  1. DT_INTS-14 (Blinky Light) Help ?
    By andybarrett1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th November 2015, 22:28
  2. Replies: 3
    Last Post: - 15th April 2015, 05:58
  3. 12F683 - basic code not working
    By Scampy in forum mel PIC BASIC Pro
    Replies: 56
    Last Post: - 12th February 2014, 01:29
  4. Blinky not working with TOGGLE
    By AndrewC in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 09:45
  5. My first Blinky!
    By nomad in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 25th September 2007, 18:29

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