Pic12f675 Serial woes


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    4

    Default Pic12f675 Serial woes

    Hello all

    I'm sorry if this is a silly question, but I am trying to get my pic to send a txt string to a PC running hyperterminal.

    The code looks something like this, though it may not be exact because my work is at the office.

    Device 12f675

    (some options WTD etc)

    XTAL 4

    ALL_DIGITAL True


    Output GPIO.0

    Main:
    DelayMS 1000
    Serout GPIO.0, 16572, ["This string won't come through]
    Goto Main

    I need to use 4800 bps 8 bit and no parity ( I think) for NMEA strings, but I can't seem to get the data through.
    If I drive an LED on the output, I can see that there is some data coming through, but it must be in the wrong format.

    Also, I have connected GPIO.0 and GND straight to the PC serial port pins 2 and 5.

    Any help would be most appreciated

    Thanks

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    You should try the Proton forum at http://www.picbasic.org/forum

    This forum is for PicBasic Pro.
    DT

Similar Threads

  1. Pic12F675 serial voltmeter
    By GioppY in forum Code Examples
    Replies: 22
    Last Post: - 20th November 2010, 14:20
  2. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 18:03
  3. PIC12F675 problem with port 5
    By NL2TTL in forum mel PIC BASIC
    Replies: 2
    Last Post: - 5th June 2009, 02:23
  4. SERIN with a PIC12F675
    By ewandeur in forum Serial
    Replies: 4
    Last Post: - 30th July 2007, 16:04
  5. PIC12F675 trouble
    By russman613 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th February 2006, 19:40

Members who have read this thread : 1

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