Skip to content

Teensy 3.5, static_assert(validpin(), "Invalid pin specified"); #361

Closed

Description

@tehuster

When i try to use pin 35/36 on the teensy 3.5 i get the error: static_assert(validpin(), "Invalid pin specified");

If i understand it correctly i need to define a pinmapping for the teensy in the fastpin.h?
The problem is, I don't know how to do that. If you point me in the right direction I would be very gratefull.

Thanks

Activity

  1. jasoncoon commented on Oct 25, 2016

    @jasoncoon
    Member

    Teensy 3.5 and 3.6 aren't supported by FastLED yet. Daniel has said he has the hardware, but hasn't had the time yet: https://plus.google.com/u/0/+BrianLewis515/posts/e9PN9heiWcR

    Side note, I noticed Paul has added Teensy 3.5 and 3.6 support to the OctoWS2811 library: PaulStoffregen/OctoWS2811@d51e6a6

  2. tehuster commented on Oct 25, 2016

    @tehuster
    Author

    Thanks for the info Jason. Guess i will just wait on Daniel or figure out how i need to pinmap it myself.

  3. robertcedwards commented on Nov 16, 2016

    @robertcedwards

    Ah shoot, that's the problem! I was having a bunch of funky issues but using 3.1.0 seems to have done the trick for our Dotstars, along with with slowing down our clock as per Paul's recommendation:
    https://plus.google.com/111022735393886581158/posts/JcCkB7j66aj?sfc=true

  4. botboe commented on Nov 23, 2016

    @botboe

    @robertcedwards can yout tell me what you did to get the Dotstars running on Teensy 3.5? I'm using arduino 1.6.12, teensyduino 1.3.1 and FastLED 3.1.5 but still get the error mentioned in the title.

  5. robertcedwards commented on Nov 23, 2016

    @robertcedwards

    @Mad-Onion I'm running 1.6.10 with FastLED 3.1.0, that FastLED library version was key to getting it to run properly.

  6. botboe commented on Nov 23, 2016

    @botboe

    @robertcedwards thank you for the info, I'm testing Arduino 1.6.12 with FastLED 3.1.0 and WS2812Bs now and when I try to compile the blink-example I run into lots of asm-constraint and macro-expansion-errors.
    Any ideas?

  7. robertcedwards commented on Nov 23, 2016

    @robertcedwards

    @Mad-Onion We had to roll back to Arduino 1.6.10 as well. There was definitely a lot of testing and multiple software setups before we got it working. I'm able to compile it currently with the IDE, so that should be correct.

  8. kcouck commented on Jan 17, 2017

    @kcouck
    Contributor

    If you'd like, I can add 3.5 support to my branch for 3.6: https://github.com/kcouck/FastLED/tree/Teensy_3.6
    I can't test it, I don't have the hardware, only a 3.6...
    But the pin mapping etc should be identical, so adding support should be trivial...

  9. oleiman commented on Jan 22, 2017

    @oleiman

    @kcouck Yes, that would be super helpful. I've just started a prototype for a large project, and I planned to use 3.5 and FastLED. Didn't think to check whether the library supports the new hardware. There's a lesson here, I'm sure.

    EDIT: just saw related pull request. probably not worth my mucking about. Thanks!

  10. henryflorence commented on Feb 14, 2017

    @henryflorence

    Teensyduino does not currently support Arduino 1.6.10. Supported versions are: 1.0.6, 1.6.5-r5, 1.6.9, 1.6.12, 1.6.13, 1.8.0. I am getting the error: 'WS2811_PORTDC' was not declared in this scope when trying to compile for teensy 3.6 using Arduino 1.8.

    I'm currently using Teensy 3.2, but would be great to harness the extra power of 3.6!

  11. kcouck commented on Feb 15, 2017

    @kcouck
    Contributor

    Hello Henry, (and others)

    this issue has nothing to do with the Arduino orr Teensyduino version, but with the fact that the stable branch of FastLED just doesn't support the Teensy 3.5/3.6 yet.

  12. henryflorence commented on Feb 16, 2017

    @henryflorence

    Thanks for your reply kcouck, I found a solution, after pulling your fork git checkout -b Teensy_3.6 makes your alterations appear, managed to pull changes from the main FastLED source also. Did you have any luck getting more than 16 lanes working? I'm currently using WS2811_PORTDC

  13. kcouck commented on Feb 16, 2017

    @kcouck
    Contributor

    You can use PORTB as well, it's on pins 0,1,29,30,43,46,44,45 (some of them are on the backside of the Teensy)
    But you'll need to use it by adding a second 8-way parallel output; I didn't create a 24-way controller (yet)
    Waiting for @focalintent to merge it :)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions