Steps to implement the code:
1) Take the number into any integer.
2) Configure registers for RED and GREEN LEDs.
3) Compare the number with all the elements one by one.
4) If element match with the number given turned on the Green LED for 100ms else turned on RED LED for 100ms.
No comments:
Post a Comment