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

RandallSwels
Thu Sep 28 2023, 09:25 pm
Zaemlmoche
Tue Sep 26 2023, 06:36 pm
StanleyMek
Tue Sep 26 2023, 01:43 pm
Vikiayf
Tue Sep 26 2023, 05:28 am
Lunteecrenope
Tue Sep 26 2023, 12:51 am
Senyapralk
Mon Sep 25 2023, 08:14 pm
Rosalbazem
Mon Sep 25 2023, 05:55 pm
Robertquorm
Sun Sep 24 2023, 09:57 pm