Serin2 - All I Need Is 8 Numbers....


Results 1 to 5 of 5

Threaded View

  1. #5
    Join Date
    Dec 2006
    Location
    WADSWORTH OHIO USA
    Posts
    37

    Post pic 2 pic comm

    Alrighty then, at this stage of the project rerouting of pins is not an option. But that's my nightmare. I have slowed thing down a bit so that perhaps I can "see" what's going on. I know I am close. Here are snipits of my serin/out;

    pic7 program ********************************************

    SND6: 'SEND DIGITS TO PIC6
    HIGH PORTA.1
    HIGH PORTB.2
    FOR X=0 TO 3
    TRX[X] = (TIME DIG X)
    ARX[X] = (AMP DIG X)
    NEXT X
    Serout2 PORTB.5 \PORTB.6,3318,[STR TRX\4 ,STR ARX\4]
    LOW PORTB.2
    LOW PORTA.1
    RETURN

    pic6 program *******************************************

    'RECIEVE AND DISPLAY DIGITS
    EEPROM 0,[129,243,73,97,51,37,5,241,1,49] 'STORE CONSTANTS
    LOOP: 'GET T & A FROM PIC 7
    IF PORTA.4 = 1 THEN
    SerIN2 PORTA.0 \PORTA.1,3318,[STR TRC\4 ,STR ARC\4]

    ENDIF 'DISPLAY T & A
    FOR C = 0 TO 3
    READ (TRC[C] DIG 0), PORTB
    LOOKUP C,[$7F,$BF,$DF,$EF],PORTC 'SET DIGIT
    PAUSE f
    PORTC = $FF
    NEXT C
    FOR B = 0 TO 3
    READ (ARC[B] DIG 0), PORTB
    LOOKUP B,[$FE,$FD,$FB,$F7],PORTC
    PAUSE f
    PORTC = $FF
    NEXT B
    GOTO LOOP

    I believe my problem is "other than the meds for my sanity" in the data array's
    I'm trying to send/recieve ie. TRC VAR BYTE[4] . At this speed I can visually see "scope" the transfer as well as as a confermation by I/O. ??? Who happened to my data ????

    Thanks!!
    Last edited by SOMRU; - 14th December 2006 at 15:41.
    Thanks !
    SOMRU
    TWE/TFP/EE

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. Replies: 4
    Last Post: - 15th April 2009, 01:54
  4. Random Numbers
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 18th December 2008, 08:47
  5. SERIN2 digit parsing
    By skimask in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th January 2007, 23:15

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