View previous topic :: View next topic |
Author |
Message |
albertsm
Joined: 09 Apr 2004 Posts: 5813 Location: Holland

|
Posted: Wed May 24, 2023 7:44 pm Post subject: |
|
|
that is called bouncing of contacts. the interrupt simple does its job.
why not monitor the OK message you print? that gives a good clue.
better is to add some counter like :
Code: | Button:
Print "Ok:" ; wCounter ; "," ; portb.0
wcounter=wcounter+1
Toggle Portb.0
Return
|
that will give better info. otherwise look up contact bouncing on wikipedia _________________ Mark |
|
Back to top |
|
 |
Printpix52
Joined: 18 Jun 2014 Posts: 282 Location: D.F.

|
Posted: Thu May 25, 2023 2:29 am Post subject: |
|
|
Hello!
This is my actual experimental card I like to work with.
I don't like to experiment with proteus.
I'm done, I put a 104 ceramic condenser in parallel.
I have already read the rebound in encyclopedia.
Thank you so much!![/u][/quote][/url] |
|
Back to top |
|
 |
MWS
Joined: 22 Aug 2009 Posts: 2196

|
Posted: Thu May 25, 2023 4:20 pm Post subject: |
|
|
Printpix52 wrote: | This is my actual experimental card I like to work with. |
Interesting, I've never seen such one.
But tell me, what exactly is the relation of your post to the topic: Int3 doesn't work on atmega64?
You don't use ATMega64.
You don't use the Bascom simulator and Quote: | I don't like to experiment with proteus. | nobody discussed about Proteus.
Do you hear voices in your head?
Posting unconnected matter into another one's thread is called thread-hijacking.
Quote: | I'm done, I put a 104 ceramic condenser in parallel. |
This is a good approach to ruin the contacts, as every time pressed, the switch's contact gets a nice discharge.
Contacts may show damage only after lots of use, but generally it's a bad idea. |
|
Back to top |
|
 |
Printpix52
Joined: 18 Jun 2014 Posts: 282 Location: D.F.

|
Posted: Fri May 26, 2023 5:46 pm Post subject: |
|
|
But tell me, what exactly is the relation of your post to the topic: Int3 doesn't work on atmega64?
You don't use ATMega64.
You don't use the Bascom simulator and
Each topic that he publishes is a practice for me as an exercise, in addition, there are still many to learn this.
The simulator works well and works very well.
Thank you so much for asking. |
|
Back to top |
|
 |
MWS
Joined: 22 Aug 2009 Posts: 2196

|
Posted: Fri May 26, 2023 6:15 pm Post subject: |
|
|
Printpix52 wrote: | But tell me, what exactly is the relation of your post to the topic: Int3 doesn't work on atmega64? |
In this case to remind you not to hijack other users threads.
Quote: | You don't use ATMega64. |
Sure I did.
Quote: | You don't use the Bascom simulator |
Sure I did, I've used the TO's source and checked his initial problems.
Quote: | Each topic that he publishes is a practice for me as an exercise |
You can do your exercise at home without trashing the TO's thread.
Quote: | in addition, there are still many to learn this. |
Your self-evaluation is excellent.
If you want to learn, open your own threads and don't hijack others.
Then you will see for yourself if other users are interested in your walking attempts. |
|
Back to top |
|
 |
Printpix52
Joined: 18 Jun 2014 Posts: 282 Location: D.F.

|
Posted: Fri May 26, 2023 7:43 pm Post subject: |
|
|
Quote: | In this case to remind you not to hijack other users threads.
Ok understood and sorry.
| You can do your exercise at home without trashing the TO's thread.
OK
[/quote]If you want to learn, open your own threads and don't hijack others.
Then you will see for yourself if other users are interested in your walking attempts.
ok and understood.
Excuse me teacher and thank you very much MWS.  |
|
Back to top |
|
 |
MWS
Joined: 22 Aug 2009 Posts: 2196

|
Posted: Fri May 26, 2023 8:03 pm Post subject: |
|
|
Be my guest. |
|
Back to top |
|
 |
|