3.11. AVR Timers

<p>The ATmega32U4 has 4 timers: Timer0, Timer1, Timer3, and Timer4. Each timer has a different set of features, as documented in the datasheet.</p> <ul> <li>Timer0 is used by the Arduino environment for timing-related functions like <code>millis()</code>.</li> <li>Timer1 is used by the A-Star 32U4 Arduino library for driving motors.</li> <li>Timer3 is <em>not</em> used by the A-Star 32U4 Arduino library and can be freely used for your own purposes.</li> <li>Timer4 is used by the A-Star 32U4 Arduino library for controlling the buzzer. The <strong>Buzzer</strong> pin must be connected to the adjacent digital pin 6 (PD7; Timer4 output OC4D) for this to work.</li> </ul>

Related Products

A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge (SMT Components Only)
A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge
A-Star 32U4 Robot Controller SV with Raspberry Pi Bridge (SMT Components Only)
A-Star 32U4 Robot Controller SV with Raspberry Pi Bridge
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors