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.

[PIC] Button Can't Function On Hardware Using PIC16F628A

Status
Not open for further replies.

Syahrin

Newbie level 1
Joined
May 23, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
9
Dear All,
Master.....

I have a problem into my program, there is the function button can't work properly in my hardware, but work very well in Proteus.

Can anyone given me some advice what is matter on that.

I am using a PIC16F628A and compiler is MikroC.


Syahrin..
:):):):):):)
 

Hi,

Impossible to help without schematic and code.

Klaus
 

Given that (totally inadequate) problem description, I would guess that you are not debouncing the key. I think MikroC (a compiler I have never used) has a function that lets you do this but you can always look up key debouncing on Google for a number of examples (many using PIC devices and you should be able to implement the code - or at least the underlying concepts - in any language you like.
When you describe a problem you should tell us what you expect to happen and under what cirumstances, what does happen that you do not want and what doesn;t happen that you do. As mentioned above, code (especially a small but complete program that exhibits the problem) and possibly a scehmatic is always useful.
Susan
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top