I'm using the tiny45 for a project where I have to read two ADC's and control an LED and a servo. I'm using the Servo8Bit library and configured the ATtiny at 8MHz internal.
The first ADC value controls the LED brightness and the second ADC value is compared with a threshold to decide whether to actuate the servo (angle is predetermined).
When I tested this on the Arduino MEGA board using the standard Servo.h library, everything worked fine.
Even on the ATtiny, the ADC's and PWM's work perfectly when I read the analog inputs and output the same voltage on the PWM pins. But everything stops working when i #include the "Servo8Bit.h". Even the LED stops glowing and servo is dead.
Just using the preprocessor directive renders the tiny45 dead. And comes back alive when I remove it.
So I guess I've missed something in the procedure, or there's a problem in the library.
edit: Library source - » Servo8Bit Library version 0.6 released Cunning Turtle