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

WilliamErync
Sun May 05 2024, 02:35 am
Danielnof
Sat May 04 2024, 11:12 pm
oriminna
Sat May 04 2024, 08:28 pm
scaneraNom
Sat May 04 2024, 02:21 am
gtaletrzua
Fri May 03 2024, 10:55 am
Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am