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

attiny88 woes #536

Open
moosepr opened this Issue Dec 6, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@moosepr

moosepr commented Dec 6, 2017

Howdy

I have come across your library while trying t get round some issues I am having while trying to make an attiny88 work with a WS2812 LED

I had tried the adafruit neopixel library to no avail, so i thought i would give fastled a go

I am using attinycore (https://github.com/SpenceKonde/ATTinyCore/blob/master/avr/extras/ATtiny_x8.md) and arduino and am unable to get any of your examples to work. The led is attached to the pin PA3/PCINT27 which links to pin 26 in arduino terms, however fastled has issues with that pin number

/home/petay/sketchbook/libraries/FastLED/fastpin.h:207:2: error: static assertion failed: Invalid pin specified static_assert(validpin(), "Invalid pin specified"); ^ exit status 1

although after further testing, it seems to have issue with an pin!!

@focalintent

This comment has been minimized.

Show comment
Hide comment
@focalintent

focalintent Dec 7, 2017

Member

Can you turn on verbose compile output and dump the full output into gist.github.com and link to it here?

Right now, FastLED has no pin/port definitions for the ATTiny 88 -- those are all defined in platforms/avr/fastpin_avr.h (these need to be defined because FastLED, at compile time, turns pin accesses into direct io register accesses for performance - but this means that the pin number to io register/port mapping has to be setup and known at compile time, not runtime.

Member

focalintent commented Dec 7, 2017

Can you turn on verbose compile output and dump the full output into gist.github.com and link to it here?

Right now, FastLED has no pin/port definitions for the ATTiny 88 -- those are all defined in platforms/avr/fastpin_avr.h (these need to be defined because FastLED, at compile time, turns pin accesses into direct io register accesses for performance - but this means that the pin number to io register/port mapping has to be setup and known at compile time, not runtime.

@moosepr

This comment has been minimized.

Show comment
Hide comment
@moosepr

moosepr Dec 7, 2017

sure, the dump is here

https://gist.github.com/moosepr/264d71722ea4d52d93001210e045c68d

i did expect it may be the case of nobody being mad enough to try it on an attiny88 before :P

moosepr commented Dec 7, 2017

sure, the dump is here

https://gist.github.com/moosepr/264d71722ea4d52d93001210e045c68d

i did expect it may be the case of nobody being mad enough to try it on an attiny88 before :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment