Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Programing a 8051 chip in c - erratic behaviour

Status
Not open for further replies.

Big Homey

Newbie level 3
Joined
Jul 18, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,306
erratic behavior

I am programing a 8051 chip in c. I have to use a keypad to increment and decrement numbers. If I push the increment or decrement key to many times (20) the program jumps to another section of code. Sometimes it puts characters all over the screen. Any help would be appreciated.
 

Re: Erratic Behavior

Are you debounceing the keys properly?

If not, the program may see many keypresses and overflow your buffer.
 

Erratic Behavior

whithout seeing the code no one can help you

help us to help you

MicroCon
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top