Serial VB 2005 pic 16f877a problems


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Unhappy

    first I tried substatuting some of yor lines of code into my program for mine like...
    serIN [WAIT ("OK"), DEC pcsig] insted of
    DEBUGIN [WAIT ("OK"), DEC pcsig]
    and i added the
    portc=0
    trisc=0
    HIGH PORTD.3 ' Serial OUT idle state
    pause 500
    at the beginning
    but it stilll locked up at the exact same spot.
    So I started a new project and used your code exactly
    I recieved the
    Error[118] C:\PBP\SAMPLES\BLINK.ASM 122 : Overwriting previous address contents (2007)
    Error[118] C:\PBP\SAMPLES\BLINK.ASM 122 : Overwriting previous address contents (2007)
    when i compiled but programmed it anyway
    it now locks up at
    Temp=0
    and will not move at all
    and the vb still cant open the port because it is locked (just like always)
    Sorry i can't get it to work, i am at a total brick wall on this one.
    Beer is proof that God loves us and wants us to be happy.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    use it as is, paste my own first.. even better, try at 9600 bauds.. that's what i've used yesterday.

    For the error message refer to post #5 at the following...

    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Red face

    fixed the error messages but it still locks up after the temp= 0 lcdout
    and the vb program still can't open the port because of it
    sorry again i think it's time to give up for a while, i don't want to take up any more of your time. I will add to the post if I get it going.
    Thanks again to everybody.
    I can't believe such a simple thing as a serinn(now a debug) is causing such a problem.
    Snap
    Beer is proof that God loves us and wants us to be happy.

Similar Threads

  1. Midi, Interrupts and Pic better than SX28?
    By Lajko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th September 2008, 01:26
  2. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 08:57
  3. PIC serial going to sleep!
    By stma in forum Off Topic
    Replies: 0
    Last Post: - 31st October 2007, 09:17
  4. PIC to serial with visual basic
    By mbw123 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 31st March 2007, 17:06
  5. serial comm from Pic to STAMP
    By d1camero in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th April 2004, 00:58

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