Hello Unregistered ,
Originally Posted by ChrisHelvey No, wait a minute. Adding won't do it, will it? 01111111 + 01111111 = 11111110 Hmm.... Yep, 127 + 127 = 254 As long as you only use seven bits on each port and add those you will stay below the 255 limit. How many combos can you come up with using two 7 bit numbers like that. One heck of a comination lock.
Dave Always wear safety glasses while programming.
And, if you wanted to do this with 3 pins instead of 8 add a 165 PISO shift register.
Forum Rules
Bookmarks