Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Which pin to us for interrupt?

2005-05-07 by Larry Barello

PWM is a hardware function.  interrupts shouldn't bother the PWM generator.
However, you can not share PWM output with INT input, of course...

Depending upon your encoders & the tick rate you might be better off polling
than using interrupts.  It just depends.


-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On
Behalf Of wbounce
Sent: Friday, May 06, 2005 8:01 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Which pin to us for interupt?


I am working on adding 2 wheel encoders to my robot. I am thinking of
using either PORTE5, PORTE6 or PORTE7 but I am wondering if this will
conflict with my PWM which I have on PORTE3 and PORTE4 (PWM output A and
B of timer3)

PORTE5 - External interupt 5 input or output compare and PWM output
compare C for timer counter 3
PORTE6 - External interupt 6 input or timer counter 3 clock input
PORTE7 - External interrupt 7 input or timer counter 3 clock input
capture trigger

If I use these will they cause problems with my PWM?




Yahoo! Groups Links

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.