Discussion in "Project Help" started by    fortresmaximus    Aug 30, 2023.
Wed Aug 30 2023, 11:53 am
#1
Hi guys, i am new here.

I need to create project with microcontroller 8051,
in project i want to use KEYPAD-PHONE and 4 LED (for example if i click 1 on keypad - first LED will light up,

Could someone give me a hint what i am doing wrong?





[ Edited Wed Aug 30 2023, 11:57 am ]
Tue Sep 19 2023, 07:49 am
#2
To use this kind of keypad you must "scan" it,
This means setting pins P2.1,P2.2 and P2.3 high then low one after the other.
Your pins do not change, so pressing a key does nothing.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm