Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porting to the attiny85 #11

Open
BogdanTheGeek opened this issue Feb 18, 2017 · 1 comment
Open

Porting to the attiny85 #11

BogdanTheGeek opened this issue Feb 18, 2017 · 1 comment

Comments

@BogdanTheGeek
Copy link

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
@colesnicov
Copy link

Check link on comments https://www.youtube.com/watch?v=hr4oPoIcOFc. It is not for attiny85 but...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants