Communications Example : PC to PIC bi-directional dialogue


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    D-Work's Avatar
    D-Work Guest


    Did you find this post helpful? Yes | No

    Default

    I use the baudrate provided in the source code "300 baud, 8 Data Bits, No Parity, 1 stop Bit, No Flow Control".
    The problem is i get errors while compiling your code, i use version 2.1.3 of Proton+.

    Code:
    Error at Line [112]	In file [COLOK.BAS]		*** Value Expected! ***
    Error at Line [165]	In file [COLOK.BAS]		*** Variable or Value is Missing! ***
    Error at Line [170]	In file [COLOK.BAS]		*** Square opening bracket '[' missing! ***
    Error at Line [183]	In file [COLOK.BAS]		*** Square opening bracket '[' missing! ***
    Error at Line [211]	In file [COLOK.BAS]		*** Syntax error! ***
    Error at Line [247]	In file [COLOK.BAS]		*** Syntax error! ***
    Error at Line [250]	In file [COLOK.BAS]	*** Misplaced or Incorrect 'ENDIF'. Also check its corresponding IF Command! ***
    Regards,
    David
    Last edited by D-Work; - 24th October 2005 at 03:53.

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


    Did you find this post helpful? Yes | No

    Default

    Weird error message if you'd copy/paste the Melanie's code...Be sure you use MELABS compiler.
    Steve

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

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    My examples are NOT written for Proton but for MeLabs PBP and are posted on this forum and on MeLabs website. The code works perfectly when used with compiler it was intended for.

Similar Threads

  1. Send data PIC to PC
    By konter in forum Off Topic
    Replies: 6
    Last Post: - 25th December 2009, 22:04
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  4. Replies: 11
    Last Post: - 12th July 2008, 02:36
  5. PC / PIC communications?
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th September 2005, 17:55

Members who have read this thread : 5

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