I’m having trouble changing Fire2012 for use on a 60-LED ring. I’d like to have the flames start at the bottom of the ring and run up the left and right sides simultaneously. I saw that @Mark_Kriegsman programmed a provision for reversing the direction, and I thought I could use that to count from LED number 59 down to 30 at the same time it counted from 0 up to 29. I’ve tried my code on four different types of boards, and they are all crashing at different points when assigning the variable “color” to the leds[] array. I searched the community, and I couldn’t find code similar to this, even though I remember seeing a post from a while back. I pasted my code in a Pastebin. I’m using FastLED version 3.1.3 with Arduino IDE 1.6.12. Any help is appreciated.
http://pastebin.com/cZGRPZ2K
I did this a while back on a strip of 60 LEDs looped into a circle: https://photos.google.com/share/AF1QipNnjjjewKrHfdycALadXmkhnUIpF76i5JJ5aFfio73A8b_7WbJbpUp1jdQCRjJxkA?key=a2Iwb1lFS2lWUW9DNXoyV0Jwb2t2emUzR0VDSVp3 I treat each side as a separate strip with its own heat array, instead of just mirrored. Here’s the code: eclipse/eclipse.ino at gh-pages · evilgeniuslabs/eclipse · GitHub
Sorry, forgot to mention, I don’t immediately see anything wrong with your code, not sure why it would be crashing.
Hey, thanks Jason. That’s just what I was looking for. I like your sketch,
have you tried modifying it for an ESP8266? I want to try that with a
WeMosD1 mini.
@Garrett_Durland great, glad to have helped! I haven’t yet, but hope to soon.