Shop OBEX P1 Docs P2 Docs Learn Events
Advice needed for recovering data generated via a F/F being used for pulse outp — Parallax Forums

Advice needed for recovering data generated via a F/F being used for pulse outp

Buck RogersBuck Rogers Posts: 2,175
edited 2006-06-12 19:11 in BASIC Stamp
Hello!
Using some what modified versions of Pulsout.bs1 (examples attached), I have successfully used these to clock an SN7472 flip flop. I now need to recover the data created from the Q output of the flip flop and then present it as an output via the SEROUT instruction.

A brief description of what the actual circuit looks like and what is happening is prsented at www.gregg.levine.name in the category One-Wire circuits.· I need to send the resulting stream to a PalmVx running a program called PalmOrb available from·http://palmorb.sf.net·.
I have already worked out the details concerning the Palm and the connections to the ·HotSynch connector and actually own a Serial HotSynch cable.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buck Rogers

www.gregg.levine.name

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-06-12 19:11
    ' {$STAMP BS1}
    ' {$PBASIC 1.0}
     
    SYMBOL  A = BIT0
    SYMBOL  B = BIT1
    SYMBOL  C = BIT2
    SYMBOL  D = BIT3
    SYMBOL  X = B2
     
    INPUT 0                  'P0 = F/F 1
    INPUT 1                  'P1 = F/F 2
    INPUT 2                  'P2 = F/F 3
    INPUT 3                  'P3 = F/F 4
    
    OUTPUT 7
     
    The_Top:
      X = 0
      X = A * 1
      X = B * 2 + X
      X = C * 4 + X
      X = D * 8 + X
      SEROUT 7, T2400, (X, " ")
      PAUSE 1000
      GOTO The_Top
    
Sign In or Register to comment.