Servo library for ATtiny84?

Hi, I'm using Arduino as ISP to flash sketches to Attiny84 via Arduino IDE v.1.0.5-r2 on a PC.

Will the SERVO library (included w/IDE) work under this circumstance? I'm not sure which "core" for ATtiny I am using, it was a long time ago, and with many difficulties that I originally got the ATtiny's working for me. I think it was from MIT or Sparkfun.

I have attempted the simple "knob" example and it seems to compile/upload without error, yet no movement from the servo. Meanwhile, other blink'y / count'y type test sketches upload and work perfectly.

Thanks
Bill

You need this to compile your code GitHub - damellis/attiny: ATtiny microcontroller support for the Arduino IDE you add it to your list of boards Arduino Playground - ArduinoOnOtherAtmelChips

Thanks,
so I just add this downloaded zip file to C:\Users\Bill\ProgramFiles(x86)\Arduino\hardware\boards.txt ?
sorry, but I can't figure how to add the zip file to the txt file, any suggestions?

You can use the library manager if your using 1.6.5
Mine are at C:\Users\be80b\Documents\Arduino\libraries

billcat:
Hi, I'm using Arduino as ISP to flash sketches to Attiny84 via Arduino IDE v.1.0.5-r2 on a PC.

Still looking for some USEFUL advice...

What I posted works if it's not you need to post how you installed it. And make sure your using pin that can be used If not you'll get errors.
The four screen shots show how to add library how to pick chip and the outcome with no errors.

I would update to newer 1.6.5 it's way better to install libraries
I tested this with the knob code.

/* 
 Controlling a servo position using a potentiometer (variable resistor) 
 by Michal Rinott <http://people.interaction-ivrea.it/m.rinott> 

 modified on 8 Nov 2013
 by Scott Fitzgerald
 http://www.arduino.cc/en/Tutorial/Knob
*/

#include <Servo.h>

Servo myservo;  // create servo object to control a servo

int potpin = 1;  // analog pin used to connect the potentiometer
int val;    // variable to read the value from the analog pin

void setup()
{
  myservo.attach(5);  // attaches the servo on pin 9 to the servo object
}

void loop() 
{ 
  val = analogRead(potpin);            // reads the value of the potentiometer (value between 0 and 1023) 
  val = map(val, 0, 1023, 0, 180);     // scale it to use it with the servo (value between 0 and 180) 
  myservo.write(val);                  // sets the servo position according to the scaled value 
  delay(15);                           // waits for the servo to get there 
}

Heres how to install libraries https://www.arduino.cc/en/Guide/Libraries
And you may want this.

I am trying to program an attiny84 using the arduino uno as an isp. I am trying to control a servo, but everything I try doesn't seem to work. I have the servo control pin hooked up to physical pin 6, which is supposed to be a pwm pin. I am getting frustrated. servo.h, SoftwareServo.h, and Servo8Bit don't appear to work. HELP!

Do you still need help? I have been playing with an ATTiny84 to control an ESC (same as controlling a servo). I used arduino as ISP