The objective of my project is to turn led c0 when I enter the correct code so first I'm trying code of one character ("5") on keypad but its not working. Another question what if I have to enter for example the code "123" on keypad to turn the led on ? What do I have change in my code?
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Mon Sep 26, 2011 3:52 pm
Quote:
The objective of my project is to turn led c0 when I enter the correct code so first I'm trying code of one character ("5") on keypad but its not working.
Just a hint for why your program might not work as expected: your led is blinking so fast that you won't see it. Try adding a delay. Not the perfect solution, but it will do for a simple test:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum