PicBasicPro+MicroCode studio plus and ICD debugging


Results 1 to 13 of 13

Threaded View

  1. #12
    Join Date
    May 2008
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Breadboard is working

    Hi Bruce!

    I finally got it.....on the breadboard....it's a beginning

    What was wrong:

    On the shematic from Microcode studio plus, took off the link from (db9, pin4) to (max232, pin 8); (max232, pin 9) to resistor 100 Ohms.

    Here is the code:

    DEFINE OSC 4
    trisA.0 = 0


    x var byte
    led var porta.0

    ENABLE DEBUG

    loop:
    x=1 ' Turn on LED connected to PORTA.0
    led=x
    Pause 500 ' Delay for .5 seconds

    x=0 ' Turn on LED connected to PORTA.0
    led=x ' Turn off LED connected to PORTA.0
    Pause 500 ' Delay for .5 seconds

    Goto loop ' Go back to loop and blink LED forever

    DISABLE DEBUG

    End

    NOW I HAVE TO FIGURE OUT THE PCB....

    The 628 transmit only 20 seconds after the power is turned on....
    Attached here is the pcb layout....

    Tanks again Bruce!
    Attached Images Attached Images  

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