Error Code 989

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
antrygo
 
Posts: 1
Joined: Wed Dec 15, 2021 1:37 am

Error Code 989

Post by antrygo »

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)
})

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: Error Code 989

Post by mikeysklar »

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?

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”