Hi, I'm doing a project where I have a keypad and when a specific key is pressed, a set of leds will continuously display a pattern until a different key is pressed. I can get the keypad to do the initial display but it won't repeat. I think this is due to scanning the keypad, I don't think I can repeat the led pattern and scan at the same time but I am not sure. I have attached my code to what I have so far. I'm thinking I need to do some sort of test on user input of the keypad, possibly test the number the keypad returns and if it is the same repeat the previous pattern but if it is different do the scanning?
5.2 KB Views: 13