Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servo library doesn`t work #8

Open
bugparty opened this issue May 9, 2014 · 3 comments
Open

Servo library doesn`t work #8

bugparty opened this issue May 9, 2014 · 3 comments

Comments

@bugparty
Copy link

bugparty commented May 9, 2014

I just "#include <Servo.h>", and compile.then arduino generate the following log:
C:\Program Files (x86)\Arduino\libraries\Servo\Servo.cpp: In function 'void initISR(timer16_Sequence_t)':
C:\Program Files (x86)\Arduino\libraries\Servo\Servo.cpp:159: error: 'TIFR1' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\Servo\Servo.cpp:160: error: 'TIMSK1' was not declared in this scope

@sudar
Copy link
Owner

sudar commented May 9, 2014

Which processor are you using? And also does that support Timers?

@bugparty
Copy link
Author

bugparty commented May 9, 2014

I am using atmega16a-pu,yes,it has three timers!

@sudar
Copy link
Owner

sudar commented May 10, 2014

This is really strange. Can you post the full code that you are using and also can you tell me how have installed the arduino core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants