Waterme11on
Active member
Hey there,
I'm trying to run the audio library whilst animating neopixels, but I need some help. My setup is a teensy 3.2 with a prop shield, a 16 led neopixel ring connected to pin 8 on the teensy, and a single speaker on the prop shield amp. I'm powering the device with a sparkfun 5v/1A charger/booster board and a 2000Mah battery. Worth noting is that I have a Hc05 bluetooth unit also connected to pins 1 and 2, not sure if this effects things.
Here's what i've tried:
1. Adafruit neopixel library
This works fine for lighting and animating the lights however the audio will hang when the lights are being animated. I've read this is because the adafruit library blocks interrupts or something.
However the audio will come through fine when the lights are on a static colour.
2. OctoWS2812 Library
This works for lighting up the ring but no audio will come out when I have the lights running, animated or not.
3. WS2812Serial Library
I cant even get the lights working with this library, just using the basic example, having changed my pin number to 8 in the code and nothing happens when I run it.
It seems that this was designed specifically for the purpose i'm after but I can't get it to work at all, any help would be appreciated.
That's all I've got, I was only testing with the example sketches so I have no code to post.
Cheers
I'm trying to run the audio library whilst animating neopixels, but I need some help. My setup is a teensy 3.2 with a prop shield, a 16 led neopixel ring connected to pin 8 on the teensy, and a single speaker on the prop shield amp. I'm powering the device with a sparkfun 5v/1A charger/booster board and a 2000Mah battery. Worth noting is that I have a Hc05 bluetooth unit also connected to pins 1 and 2, not sure if this effects things.
Here's what i've tried:
1. Adafruit neopixel library
This works fine for lighting and animating the lights however the audio will hang when the lights are being animated. I've read this is because the adafruit library blocks interrupts or something.
However the audio will come through fine when the lights are on a static colour.
2. OctoWS2812 Library
This works for lighting up the ring but no audio will come out when I have the lights running, animated or not.
3. WS2812Serial Library
I cant even get the lights working with this library, just using the basic example, having changed my pin number to 8 in the code and nothing happens when I run it.
It seems that this was designed specifically for the purpose i'm after but I can't get it to work at all, any help would be appreciated.
That's all I've got, I was only testing with the example sketches so I have no code to post.
Cheers