Skip to content

Add support for ATtiny85 #81

@GeorgeM987

Description

@GeorgeM987

Have tried using the versions above with an Attiny85 but got a few errors comeback:

.pio\libdeps\attiny85\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*)'

.pio\libdeps\attiny85\Servo\src\avr\Servo.cpp:128:5: error: 'TCCR1A' was not declared in this scope

.pio\libdeps\attiny85\Servo\src\avr\Servo.cpp:129:5: error: 'TCCR1B' was not declared in this scope

.pio\libdeps\attiny85\Servo\src\avr\Servo.cpp:136:5: error: 'TIFR1' was not declared in this scope

.pio\libdeps\attiny85\Servo\src\avr\Servo.cpp:137:5: error: 'TIMSK1' was not declared in this scope

Was just wondering if these are an easy fix, or if it's something I'm missing?!

Regards,
George M.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions