serin2?


Closed Thread
Results 1 to 12 of 12

Thread: serin2?

Hybrid View

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

    Default

    Try to connect your PIC to your PC to see what's happen... Use MCS serial communicator to monitor it.
    Steve

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

  2. #2
    Join Date
    May 2006
    Posts
    19

    Default

    in the case where i receive the zero's i don't wait for the "k" (SerIn2 S_in,396,[dat]) I just wait for anything to come in and thats a zero (witch i didn't send!). also tried to send some data AFTER the "k" but it still doesn't get to the blink code...

    Can someone just give me a working code and the right winpic settings to send data from one pic16f688 @ 20MHz to an other through portc.0 on both pics? it should blink a led (@ portc.3) on both pic's one after sending and one after receiving data. so they blink synchrome.

    example:
    pic1: sending data (portc.0)--> blink (portc.3)--> pause --> loop

    pic2: waiting for right data (portc.0)--> receiving data --> blink (portc.3) --> loop

    ok, I've been patient enough but time is running out so:
    [whine]
    I REALY need this code working. I use this code in a huge high-school project (i'm building a local positioning system) and i'm nominated for the "best project of the year" and i have to present my project for 1600 students. even without this code working they say my team will win this competition by far BUT I just want the whole thing working so PLEASE HELP ME. (I have no teachers or anyone i know that have any knowledge about this subject to help me, so that's why i came here)
    [/whine]
    sorry for my Engrish but i'm not a native (i'm dutch)

Similar Threads

  1. GPS $GPRMC to PIC16F684. Need help with SERIN2
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th November 2009, 09:47
  2. Getting SERIN2 to work?
    By BobPigford in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 22nd July 2009, 20:10
  3. SLOW Serin2 and Serout2
    By dragons_fire in forum General
    Replies: 3
    Last Post: - 26th June 2009, 02:38
  4. SERIN2 digit parsing
    By skimask in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th January 2007, 23:15
  5. SEROUT2 and SERIN2 commands
    By bangunprayogi in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th August 2005, 09:03

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