Pages: [1]   Go Down
Author Topic: Is there a Timer#n library  (Read 288 times)
0 Members and 1 Guest are viewing this topic.
Buena Vista, CO
Offline Offline
Full Member
***
Karma: 0
Posts: 192
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

8000ft above the average

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 228
Posts: 14053
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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 ...
Logged

Rob Tillaart

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

Pages: [1]   Go Up
Jump to: