Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Flip Neopixel Strip Direction
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Flip Neopixel Strip Direction

by cwmacier on Fri Jun 29, 2018 1:49 pm

Hello,

I am sure it is simple but I am new to coding. I am just trying to figure out how to flip the graphed temp on my neopixel strip. It is starting at one end and I want it at the other.

Thanks

Code: Select all | TOGGLE FULL SIZE
let strip: light.NeoPixelStrip = null
strip = light.createStrip(pins.A1, 27)
strip.setBrightness(80)
strip.showAnimation(light.rainbowAnimation, __internal.__timePicker(3000))
forever(function () {
    strip = light.createStrip(pins.A1, 27)
    strip.graph(input.temperature(TemperatureUnit.Celsius), 50)
})

cwmacier
 
Posts: 6
Joined: Thu Apr 09, 2015 9:29 pm

Please be positive and constructive with your questions and comments.


cron