Compilation error for Arduino UNO used as an ISP to program the ATTiny85 chip

Good day folks. I do NOT know where to put this in a forum,and I have looked for the correct place, so please forgive my ignorance, if It shows.

I have been having this error, and I cannot seem to find the cure for it.
Here is the error code from the IDE -

Arduino: 1.8.9 (Windows 7), Board: "ATtiny25/45/85, ATtiny85, Internal 1 MHz"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Kims\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Kims\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Kims\Documents\Arduino\libraries -fqbn=attiny:avr:ATtinyX5:cpu=attiny85,clock=internal1 -vid-pid=0X2341_0X0043 -ide-version=10809 -build-path C:\Users\Kims\AppData\Local\Temp\arduino_build_515374 -warnings=all -build-cache C:\Users\Kims\AppData\Local\Temp\arduino_cache_202086 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose J:\SERVO_TEST_AND_DESIGN\SERVO_TEST_AND_DESIGN.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Kims\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Kims\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Kims\Documents\Arduino\libraries -fqbn=attiny:avr:ATtinyX5:cpu=attiny85,clock=internal1 -vid-pid=0X2341_0X0043 -ide-version=10809 -build-path C:\Users\Kims\AppData\Local\Temp\arduino_build_515374 -warnings=all -build-cache C:\Users\Kims\AppData\Local\Temp\arduino_cache_202086 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose J:\SERVO_TEST_AND_DESIGN\SERVO_TEST_AND_DESIGN.ino
Using board 'ATtinyX5' from platform in folder: C:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2
Using core 'arduino' from platform in folder: C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5
Build options changed, rebuilding all
Detecting libraries used...
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\sketch\SERVO_TEST_AND_DESIGN.ino.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\sketch\SERVO_TEST_AND_DESIGN.ino.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\mbed\Servo.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\megaavr\Servo.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\nrf52\Servo.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\sam\Servo.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\samd\Servo.cpp" -o nul
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\stm32f4\Servo.cpp" -o nul
Generating function prototypes...
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\sketch\SERVO_TEST_AND_DESIGN.ino.cpp" -o "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\sketch\SERVO_TEST_AND_DESIGN.ino.cpp" -o "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\sketch\SERVO_TEST_AND_DESIGN.ino.cpp.o"
Compiling libraries...
Compiling library "Servo"
"C:\Users\Kims\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=1000000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\Users\Kims\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\Kims\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\Kims\Documents\Arduino\libraries\Servo\src" "C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp" -o "C:\Users\Kims\AppData\Local\Temp\arduino_build_515374\libraries\Servo\avr\Servo.cpp.o"
C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp: In function 'void __vector_3()':

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp:82:44: error: cannot convert 'volatile uint8_t* {aka volatile unsigned char*}' to 'volatile uint16_t* {aka volatile unsigned int*}' for argument '2' to 'void handle_interrupts(timer16_Sequence_t, volatile uint16_t*, volatile uint16_t*)'

handle_interrupts(_timer1, &TCNT1, &OCR1A);

                                        ^

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp: In function 'void initISR(timer16_Sequence_t)':

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp:129:5: error: 'TCCR1B' was not declared in this scope

 TCCR1B = _BV(CS11);     // set prescaler of 8

 ^~~~~~

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp:129:5: note: suggested alternative: 'TCCR0B'

 TCCR1B = _BV(CS11);     // set prescaler of 8

 ^~~~~~

 TCCR0B

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp:136:5: error: 'TIFR1' was not declared in this scope

 TIFR1 |= _BV(OCF1A);     // clear any pending interrupts

 ^~~~~

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp:136:5: note: suggested alternative: 'TIFR'

 TIFR1 |= _BV(OCF1A);     // clear any pending interrupts

 ^~~~~

 TIFR

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp:137:5: error: 'TIMSK1' was not declared in this scope

 TIMSK1 |=  _BV(OCIE1A) ; // enable the output compare interrupt

 ^~~~~~

C:\Users\Kims\Documents\Arduino\libraries\Servo\src\avr\Servo.cpp:137:5: note: suggested alternative: 'TIMSK'

 TIMSK1 |=  _BV(OCIE1A) ; // enable the output compare interrupt

 ^~~~~~

 TIMSK

Multiple libraries were found for "Servo.h"
Used: C:\Users\Kims\Documents\Arduino\libraries\Servo
Not used: C:\Program Files (x86)\Arduino\libraries\Servo
Using library Servo at version 1.1.8 in folder: C:\Users\Kims\Documents\Arduino\libraries\Servo
exit status 1
Error compiling for board ATtiny25/45/85.

Now, Here is the code I am trying to compile. I had no issues before, and I seem to be missing something, but, I cannot make out where I went wrong with this. Am I correct in assuming that the error is in the "servo" header load?

Here is the code -

#include <Servo.h>







const int button = 2;                         // N.O. Pushbutton
const int sw_Normal_Direction = 1;            // left position of SPDT toggle switch
const int sw_Reverse_Direction = 0;           // right positiion of SPDT Toggle Switch
const int block_det = 4;


int pos;

Servo myservo;  // create servo object to control a servo
// twelve servo objects can be created on most boards




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

  pinMode(button, INPUT);                     // sets button to be in the input mode
  pinMode(sw_Normal_Direction, INPUT);        // switch normal setup
  pinMode(sw_Reverse_Direction, INPUT);       // switch Reverse setup
  pinMode(block_det, INPUT);
  
  myservo.write(60);                          // initialize starting servo position

  
}

void loop() {


  int button_State;
  int sw_Normal_Direction_State;
  int sw_Reverse_Direction_State;
  int block_det_state;
  
  block_det_state = digitalRead(block_det);
  button_State = digitalRead(button);
  sw_Normal_Direction_State = digitalRead(sw_Normal_Direction);
  sw_Reverse_Direction_State = digitalRead(sw_Reverse_Direction);
  
  digitalRead(button_State);
  digitalRead(sw_Normal_Direction_State);
  digitalRead(sw_Reverse_Direction_State);
  digitalRead(block_det_state);

  while(block_det_state == HIGH){
  


        if(sw_Normal_Direction_State == LOW  && button_State == LOW){

            for (pos = 60; pos <= 130; pos += 1) { // goes from 60 degrees to 130 degrees
            // in steps of 1 degree
            myservo.write(pos);              // tell servo to go to position in variable 'pos'
            delay(30);                       // waits 30ms for the servo to reach the position

            // digitalRead(sw_Normal_Direction_State);

                if(pos == 130){

                  myservo.write(pos);

                }              
                  
            }
            
        }



  
digitalRead(button_State);
digitalRead(sw_Normal_Direction_State);
digitalRead(sw_Reverse_Direction_State);



         if(sw_Reverse_Direction_State == LOW  && button_State == LOW){

            for (pos = 130; pos >= 50; pos -= 1) { // goes from 130 degrees to 60 degrees
                // in steps of 1 degree
                myservo.write(pos);              // tell servo to go to position in variable 'pos'
                delay(30);                       // waits 30ms for the servo to reach the position

                // digitalRead(sw_Reverse_Direction_State);
                
                if(pos == 60){

                  myservo.write(pos);

                }

            }
            
       }

   }

}

I am not even sure if I entered the code correctly to the forum, so, and constructive help there is also appreciated.

Thanks in advance for your help.

There is no timer/counter1

Were you compiling for the ATTiny85 then?

From this line of your output I can see you are using the old school "ATtiny Microcontrollers" boards platform:

The modern and more popular ATTinyCore boards platform does provide an ATtiny compatible Servo library. So you might give that a try instead if you want to control a Servo from an ATtiny85. Installation instructions are available here:

Thank you! I did install this one, and restarted the IDE. I will try again, and see what happens...

I will let you know shortly.

Thank you!

Servo.h doesn't check to see that you are running a ATTiny. But, the source it includes does and rules out the mcu so all the lines go undefined. Basically, the Servo library doesn't support ATTiny no matter what core you are using.

So using ATTiny85 is out of the question to use? I had boards already manufactured for its use....

using servo.h is out of the question. Using a 16-bit timer is out of the question.

What are my alternatives?

As I already explained, ATTinyCore comes with a special version of the Servo library for the ATtiny microcontrollers:

From the error messages, the OP is not using this library. I am not a core expert, and I know SpenceKonde/ATTinyCore has lots of flags, so perhaps you could explain how to enable this library in his program.

Yes, that would be a big help... I have the library installed, and it does not use that library...

I sure would appreciate the knowledge on how to make it use this library. Thank you!

The first thing you need to do is make sure you have the ATTinyCore board selected. This is a "platform bundled library", which means it is only accessible when you are compiling for one of the boards of the platform.

So select Tools > Board > ATTinyCore > ATtiny25/45/85 (No bootloader) from the Arduino IDE menus.

There is another potential problem, as mentioned in the library description:

If the Servo library has been installed into /libraries, it will be used instead. It probably doesn't support the ATTinyCore devices. In this case, use Servo_ATTinyCore.h instead of Servo.h.

The library is the same, but DrAzzy made the header file name unique so that there will be no conflict with the standard Servo library you have installed here:

So you only need to change this line of your sketch:

to this:

#include <Servo_ATTinyCore.h>

There is some additional documentation about the library here:

https://github.com/SpenceKonde/ATTinyCore/blob/master/avr/extras/ATtiny_x5.md#servo-support

Awesome! Thanks! I will try it in a minute, and reply...

It worked!!! Compiled, and uploaded! I am sure very appreciative for your help.
Take care, and thank you from the bottom of my heart...

You are welcome. I'm glad if I was able to be of assistance. Enjoy!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.