Это видео недоступно.
Сожалеем об этом.

Using the adafruit_led_animations library

Поделиться
HTML-код
  • Опубликовано: 22 авг 2021
  • Learn to create slick LED animations that are remarkably easy-to-implement using the adafruit_led_animations library for CircuitPython. Part of Prof. John Gallaugher's CircuitPython School - a playlist for his Physical Computing course for university undergraduate students.

Комментарии • 7

  • @chrisscanlan8280
    @chrisscanlan8280 9 месяцев назад

    Hi, sorry for probably very simple question. I want to switch between animations (say chase and sparkle) with a button click. I am really struggling in circuit python. The running animation seems to block the button input, so nothing changes unless button held down. Sometimes animation will only advance with each click instead of keeping going.
    I have read about asyncio, but I can't make this work, either.
    Frustratingly I can get this to work on an Adafruit Trinket m0 if I use Makecode Maker blocks. But I feel this approach is cheating and I am trying to get code to run on a Pico variant called the Plasma 2040 that has 4 built in buttons and a specific terminal for the Neopixels. Thank you for any help / advice.

    • @profgallaugher
      @profgallaugher  9 месяцев назад

      Could you be having a problem with debouncing? Check out the video on debouncing later in the playlist. The video "Help My Pico Button Doesn't Work! Fix multiple press reporting w/Blocking & Debouncing, + colorwheel" may help. Good luck!

  • @jaroslavmoravec1335
    @jaroslavmoravec1335 Год назад

    Hello, I have problem, when i import anything like colorcycle = ColorCycle(pixels, 0.1, colors=RAINBOW), all of other stuff like pixels.fill won't work at all. Is there something, what i miss? Thank you for help.

  • @100oracle
    @100oracle Год назад

    Been following along these wonderful videos, was getting confident until i started getting memory allocation errors. My error it appears is that I'm using a CPX instead of the bluefruit and apparently the CPX doesn't have enough ram to do all this. Is this a correct hypothesis?

    • @profgallaugher
      @profgallaugher  Год назад +1

      Hmmm. Off the top of my head I don’t know the memory difference between these boards. You might check out Kattni’s code here and see if you still have probs. The Adafruit forums and Discord especially can also be very helpful. learn.adafruit.com/circuitpython-led-animations Keep hacking!

    • @100oracle
      @100oracle Год назад

      Yeah the kattni code is what i have been going through with your great videos. I can only load 3-4 animations before i get memory allocation errors with my CPX. Im now trying to learn makecode.