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

ArktiTic
Sun May 05 2024, 07:06 pm
CesslasyNear
Sun May 05 2024, 02:58 pm
chimichmedic1204
Sun May 05 2024, 11:06 am
Jamiegob
Sun May 05 2024, 10:11 am
Gregoryjed
Sun May 05 2024, 10:02 am
Mariocax
Sun May 05 2024, 08:51 am
WilliamErync
Sun May 05 2024, 02:35 am
Danielnof
Sat May 04 2024, 11:12 pm