The CircuitPython examples in AnimationGroups show two separate pixel objects as: Circuit Playground built-in and a NeoPixel strip.
https://learn.adafruit.com/circuitpytho ... tion-group
What if I wanted to run an AnimationGroup across the 1). odd and 2). even pixels of the same NeoPixel strip?
ie Sparkle or SparklePulse with orange on the odd, and purple on the evens?
Anyone have any hints?
AnimationGroup Same NeoPixel Strip Odd vs Even
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruitguy
- Posts: 206
- Joined: Sat Jun 07, 2014 7:52 am
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: AnimationGroup Same NeoPixel Strip Odd vs Even
The adafruit_led_animation library is not going to allow the AnimationGroup to break into odd / even numbered NeoPixels. You will limited to using entire pixel_objects (NeoPixel strips, rings, CP built-ins).
You could look into Pixel Mapping as a way to get finer control within a strip. This is really meant more for arrays and I don't see it integrating with sparkle / sparkleplus.
https://learn.adafruit.com/circuitpytho ... el-mapping
You could look into Pixel Mapping as a way to get finer control within a strip. This is really meant more for arrays and I don't see it integrating with sparkle / sparkleplus.
https://learn.adafruit.com/circuitpytho ... el-mapping
Please be positive and constructive with your questions and comments.