Lost in Pic to Pic communication


Closed Thread
Results 1 to 7 of 7

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    i'm just affraid about your baudrate definition here

    Code:
    Serin PORTC.1, 9600, temp1 'Rx port 8
    9600??? This value is wrong, the calculation is explain in your manual. @9600 bauds, 4MHZ crystal may work or not. Another thing, we don't know your PIC model, it may exist some analog stuff on PORTC... refer to your datasheet for that.

    also by seeing.. those lines...
    Code:
    Dim a1 As Byte
    .
    .
    .
    WaitMs 50
    it sounds to me that you use PROTON instead of Melabs PICBASIC. Sorry dude, you're on the wrong forum. www.picbasic.org/forum
    Steve

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

  2. #2
    Join Date
    Apr 2006
    Posts
    14


    Did you find this post helpful? Yes | No

    Post

    I am not using proton ,my basic compiler is from this www.oshonsoft.com
    i choose this "PIC Simulator IDE" because it builds in alot of simulator tools,so that i can easily debug my program,its format is quite different if compare to MELAB Pic Basic pro.But it still uses them.

    All its keywords can befound here:http://oshonsoft.com/picbasiccompiler.html

Similar Threads

  1. 2 PIC, serial communication
    By lightgreen in forum Serial
    Replies: 6
    Last Post: - 21st November 2009, 16:20
  2. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 21:02
  3. PIC 2 PIC communication
    By Mario in forum Forum Requests
    Replies: 16
    Last Post: - 28th April 2006, 02:56
  4. Serial communication PIC to PIC help.
    By Rubicon in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th January 2005, 16:45
  5. Pic to Pic communication?
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th April 2004, 20:41

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