Shift Register in and out

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-04-16 | updated: 2013-04-16

 

Shift in - out object to work with the 74x165 parallel to serial input and 74x595 serial to parallel output shift registers.

This is the first version of code, tested on 16 inputs and 16 outputs and seem to work fine.

Uses only 3 pins for up to 32 inputs and 32 outputs. (32bit)

Currentley polling at ~15Khz (15 000 reads writes / second) so please be aware of slight delays between clicking and input reading. (will recode in assembler to make faster in next version). Inputs are read first, then outputs are shifted out in same routine.

No seperate cog or crystal needed.

version 0.02 --> corrected (i hope) connection diagram

 

Original File Upload
AttachmentSize
Package icon shift_in_out_demo_-_Archive__Date_2011.03.14__Time_23.20_1.zip10.29 KB