Skip to content

Porting to the attiny85 #11

@BogdanTheGeek

Description

@BogdanTheGeek

Hi, i would like to know if its possible to get this library to work with the attiny.
Someone tried before, but it doesn't work and they cannot maintain it anymore.
I would think it is possible , but the code that takes care of serial communications needs to be replaced as the attiny doesn't have hardware serial.

this are the errors that i get when trying to compile :

In file included from \arduino-1.0.6\libraries\ShiftPWM-master/ShiftPWM.h:25,
                 from ShiftPWM_RGB_Example.ino:35:

/pins_arduino_compile_time.h:318: error: 'PORTC' was not declared in this scope

pins_arduino_compile_time.h:319: error: 'PORTD' was not declared in this scope

In file included from ShiftPWM_RGB_Example.ino:35:

ShiftPWM.h:57: error: 'MOSI' was not declared in this scope

ShiftPWM.h:57: error: 'SCK' was not declared in this scope

ShiftPWM.h: In function 'void ShiftPWM_handleInterrupt()':

ShiftPWM.h:131: error: 'SPDR' was not declared in this scope

ShiftPWM.h:147: error: 'SPSR' was not declared in this scope

ShiftPWM.h:147: error: 'SPIF' was not declared in this scope

ShiftPWM.h:153: error: 'SPSR' was not declared in this scope

ShiftPWM.h:153: error: 'SPIF' was not declared in this scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions