Strange SerOut Problem


Results 1 to 40 of 40

Threaded View

  1. #15
    Join Date
    Apr 2007
    Posts
    34


    Did you find this post helpful? Yes | No

    Default

    I've tried the circuit with the Crystal (4MHz), everything seems to be the same...

    Attached is the circuit diagram, could someone please check it to see what I am doing wrong please???

    The LED blinks if the serial port is not connected to the computer.
    The LED doesn't blink if the serial port IS connected to the computer, so I'm thinking its a grounding problem. Any suggestions?

    This is the code that I am testing with:

    Code:
    PORTA = 0
    PORTB = 0
    CMCON = 7 'Set 16F628A Comparators off
    
    Include "modedefs.bas"
    light var PORTB.0
    Low light
    
    Start:
    Toggle light
    SerOut PORTA.1,N300,["Pulse",10,13]
    Pause 100
    goto Start
    
    High light
    end
    Attached Images Attached Images  

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 16:46
  3. Strange Serout Behaviour
    By bluesmoke in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th August 2009, 04:12
  4. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  5. Replies: 11
    Last Post: - 13th July 2005, 19:26

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