callelundin Posted February 1, 2012 Report Posted February 1, 2012 Hey! im working on a project were i use a shiftregister FC90 WSR. In this register i have 1300 int values that are shifted down on a pulse. Now to the problem, i have a area of around 200 int´s in the middel of this register, lets say int 500-700 were i vouldlike to find a certain pattern. So i vould like a function that can look between two adresses in the shiftregister and find the first adress that is equal to my specifyed pattern. Allmost exact funtion like the FC86 but whitout the initziallation "SRC" becuse i have no possibility to write something in the register. Is it possible to make this in someway? Regard Calle Lundin
slcman Posted February 4, 2012 Report Posted February 4, 2012 You could create your own function with 2 in (db # and lenghttoscan ) and one in/out ((start adress pointer). Use pointer as start adresse make a loop to find out first int. You'll be able to write value.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now