Giter VIP home page Giter VIP logo

Comments (9)

ladyada avatar ladyada commented on July 29, 2024

hmm dont remember, you just need it protected not private right?

from adafruit_neopixel_zerodma.

Adminius avatar Adminius commented on July 29, 2024

I need it for this:
https://github.com/KONNEKTING/ALEDD1/blob/master/led_functions.h#L45
-> not private

from adafruit_neopixel_zerodma.

ladyada avatar ladyada commented on July 29, 2024

try the latest commit - we will release if it works!

from adafruit_neopixel_zerodma.

ladyada avatar ladyada commented on July 29, 2024

(reopen if not solved)

from adafruit_neopixel_zerodma.

Adminius avatar Adminius commented on July 29, 2024

Hi @ladyada ,
Sorry, I had no time until today to test it....
and it doesn't work :/

'boolean Adafruit_NeoPixel_ZeroDMA::_begin(SERCOM*, Sercom*, uint8_t, uint8_t, uint8_t, uint8_t, SercomSpiTXPad, SercomRXPad, EPioType)' is protected within this context

Do I need it completely public or is there a trick to use it as protected? (my example is linked above).
If public, may be you can revert it to "pre 1.1.1" state with begin instead of _begin?

from adafruit_neopixel_zerodma.

ladyada avatar ladyada commented on July 29, 2024

why are you re-initializing the sercom? thats not recommended/supported

from adafruit_neopixel_zerodma.

Adminius avatar Adminius commented on July 29, 2024

Normal init function is here:
https://github.com/KONNEKTING/ALEDD1/blob/master/led_functions.h#L83

this one is only for testing:
https://github.com/KONNEKTING/ALEDD1/blob/master/led_functions.h#L45

after that MCU will be completely rebooted:
https://github.com/KONNEKTING/ALEDD1/blob/master/button.h#L15-L28

It's user friendly way to find out wich type of GRB/RGB... combination this strip is:
https://github.com/KONNEKTING/ALEDD1/blob/master/led_functions.h#L34-L40

also, it's a a way to find out how much LEDs on this strip are connected:
https://github.com/KONNEKTING/ALEDD1/blob/master/led_functions.h#L50-L54

from adafruit_neopixel_zerodma.

Adminius avatar Adminius commented on July 29, 2024

Hi @ladyada
any news/decision?

from adafruit_neopixel_zerodma.

ladyada avatar ladyada commented on July 29, 2024

hi please submit a PR for what you need to fix and test it. :)

from adafruit_neopixel_zerodma.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.