Assigning parallel boolean data into a variable in BS2 (Keypad decoder (74C922N
Crux
Posts: 74
I am currently having a problem how i will store a parallel boolean data inside the BS2 in just one variable. I am interfacing a 74C922N keypad decoder w/ BS2 and d bus is taking up 4 pins from both chip.So its a nibble or a word data perhaps that i will use.Problem is I cant find how to gather all those paralleled bits and store it into my specified variable
Comments
Using the 4-bit parallel output of the 74C922N you can tie those lines to a 4-bit group on the BASIC Stamp such as INA (P0-P3), INB (P4-P7), etc. Then you can store that value directly into a NIB variable as soon as you detect the Data Available line going high. You'll need a 5th I/O pin outside the group to detect the DA line.· I hope this helps. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support