Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Int3 doesn't work on atmega64
Goto page Previous  1, 2
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5813
Location: Holland

blank.gif
PostPosted: Wed May 24, 2023 7:44 pm    Post subject: Reply with quote

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
View user's profile Visit poster's website
Printpix52

Bascom Member



Joined: 18 Jun 2014
Posts: 282
Location: D.F.

mexico.gif
PostPosted: Thu May 25, 2023 2:29 am    Post subject: Reply with quote

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
View user's profile
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 2196

blank.gif
PostPosted: Thu May 25, 2023 4:20 pm    Post subject: Reply with quote

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? Very Happy
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
View user's profile
Printpix52

Bascom Member



Joined: 18 Jun 2014
Posts: 282
Location: D.F.

mexico.gif
PostPosted: Fri May 26, 2023 5:46 pm    Post subject: Reply with quote

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
View user's profile
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 2196

blank.gif
PostPosted: Fri May 26, 2023 6:15 pm    Post subject: Reply with quote

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. Very Happy

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
View user's profile
Printpix52

Bascom Member



Joined: 18 Jun 2014
Posts: 282
Location: D.F.

mexico.gif
PostPosted: Fri May 26, 2023 7:43 pm    Post subject: Reply with quote

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. Embarassed Very Happy
Back to top
View user's profile
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 2196

blank.gif
PostPosted: Fri May 26, 2023 8:03 pm    Post subject: Reply with quote

Be my guest.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum