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

cngCar
Fri May 24 2024, 03:50 pm
Jamesdesee
Fri May 24 2024, 02:48 pm
DavidFah
Thu May 23 2024, 06:09 pm
Briandog
Thu May 23 2024, 04:59 pm
RalphTyday
Thu May 23 2024, 03:49 pm
LouisTen
Thu May 23 2024, 01:44 pm
gelfine
Thu May 23 2024, 01:29 pm
JamesCom
Wed May 22 2024, 06:57 pm