Change value variable while in a loop using neopixel library

Please edit your post and insert the code using the code tags. If you experiencing a troubles with it - please read the forum guidelines to see how to properly post code and some good information on making a good post.