I have a circuit playground express and I have a NeoPixel connected to A2, GND, and Vout. And I also have a Neo Jewel 7 connected to A3, a different GND, and the same Vout. It’s being USB powered and im getting error code 989.
I dont know what Im doing wrong here. :(
This is the code I’m using
let strip2: light.NeoPixelStrip = null
let strip: light.NeoPixelStrip = null
forever(function () {
light.setBrightness(255)
light.setAll(light.rgb(3, 219, 252))
light.showAnimation(light.sparkleAnimation, 1000)
light.setAll(0xff0000)
pause(1000)
})
forever(function () {
strip2 = light.createStrip(pins.A3, 7)
strip.setBrightness(225)
strip.setAll(light.rgb(252, 102, 3))
pause(1000)
strip.showAnimation(light.sparkleAnimation, 500)
strip.setAll(0xff0000)
pause(1000)
})
forever(function () {
strip = light.createStrip(pins.A2, 12)
strip.setBrightness(225)
strip.setAll(light.rgb(252, 102, 3))
pause(1000)
strip.showAnimation(light.sparkleAnimation, 500)
strip.setAll(0xff0000)
pause(1000)
})
Error Code 989
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13824
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Error Code 989
Can you post your full code, error message (in CODE brackets) and a photo of your setup.
Which guide did you base the code you are running from?
Which guide did you base the code you are running from?
Please be positive and constructive with your questions and comments.