Go Down

Topic: Is there a Timer#n library (Read 313 times) previous topic - next topic

alfiesty

I have an Arduino 2560 with a series of sensors.
I want to transmit the values of these sensors
via a rf module ( APC220 ), at approximately
every 10 seconds. I have written a function to do this
when called. I want to use timer 3 to call this function.
The more I search  on the web, the more confused I get.
The timer2 library makes it easy but seems only for timer 2
which as I understand the example, does not extend
to near enough time. Is there a generic timer library
which allows you to use any timer?
Jim
8000ft above the average

robtillaart


Not that I am aware of. Never dived deep into the details of the timers but I know some timers have specific functions but recently someone had changed the timer behind the millis and the micros succesfully (to free a specific pin)

You should check the 328  datasheet I'm afraid ...
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy