mastabfly1
Member
- Join Date
- Jun 2005
- Posts
- 11
Hi all,
I am working on a project with my internship.
My project is that I have 11 red push buttons, 11 blue push buttons and 11 yellow lamps. Within red push button/blue push buttons/yellow lamps I have to figure out to how to put them in order if they were to go off simultaneously. But now if two different kinds of push buttons were to go off at the same time, I have to put them in orderot let's say if a red push button and blue push button were pressed and a yellow push button were to go off all at the same time I have to have a output that goes in the order of red push button, blue push button, and yellow lamp. I was thinking that I can make a 3 temp variable by "or"ing all the red buttons, all the blue buttons and all the yellow buttons. Then put them into a FIFO table but I don't know how to intialize pointers so can you give me an example of intializing pointers, I looked in the manual and it did not make sense to me at all.
Also, is there any other good suggestions that I might try?
Thanks
I am working on a project with my internship.
My project is that I have 11 red push buttons, 11 blue push buttons and 11 yellow lamps. Within red push button/blue push buttons/yellow lamps I have to figure out to how to put them in order if they were to go off simultaneously. But now if two different kinds of push buttons were to go off at the same time, I have to put them in orderot let's say if a red push button and blue push button were pressed and a yellow push button were to go off all at the same time I have to have a output that goes in the order of red push button, blue push button, and yellow lamp. I was thinking that I can make a 3 temp variable by "or"ing all the red buttons, all the blue buttons and all the yellow buttons. Then put them into a FIFO table but I don't know how to intialize pointers so can you give me an example of intializing pointers, I looked in the manual and it did not make sense to me at all.
Also, is there any other good suggestions that I might try?
Thanks