Pages: [1]   Go Down
Author Topic: USing timer1 with Servo lib  (Read 498 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am just wondering if it possible to use timer1 form here http://arduino.cc/playground/Code/Timer1 with the servo lib.

Because i am getting some problem and i think it might be because of that not too sure.. So just wondering... if they can be used together.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

They don't work together. I'm having a lot of troubles with this. Would be great if someone knows a solution.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Problem is Servo and TimerOne library both use timer1. I managed to get my project working by using the FlexiTimer2 library instead of TimerOne.
Logged

Pages: [1]   Go Up
Jump to: