Let's Make Robots!

timers

Effect of timers on PWM

All the pwm-pins on my Uno are occupied and I would like to use timer 1 or 2 to set up a timer interrupt to resolve some timing issues. I have learned that using timers cause losing pwm-pins, since the timers are also used for generating pwm-signals by the analogWrite function.

[SOLVED] Strange compilation error

Hi everybody!

I'm making a little robot using Arduino and it works fine (you can see how it works on the embedded video).

The robot walk alone perfectly but today I tried to use an infrared remote with an infrared receptor to use my robot like an RC car, and I had this error at compilation (I'm using IRremote library):

 

core.a(Tone.cpp.o): In function `__vector_7':

D:\Program Files\Arduino\hardware\arduino\cores\arduino/Tone.cpp:535: multiple definition of `__vector_7'

How to use timer and interrupts on Arduino boards.
    Update 07/24/2013 04/24/2013 Example 3 has been updated to work with Arduino v1.x.Added ArduinoTimer101.zip examples source code for Arduino v1.x .    Read more

Fun with timers and interrupts on Atmel Tiny26

A long time since my last post on this site... Anyway I've been experimenting a little with my Atmel Tiny26 uC today using AVR Studio 4 for development and the AVR ISP mkII programmer to program the uC.