Teensy APA102 POV Poi / Pixel Poi Build. Tutorial

The first delay is for time-on for each slice of image, it acts like a stretch. the second delay is for inserting a gap between images, you can reduce this to zero as a test. I used this as the image I use go to black space at front and back to give a more stand-out effect.

EDIT: by black, I mean no colour, so transparent
 
Last edited:
Hi i have been working on this project for a while now and am just starting the code portion. Can someone post a sample code using the output of the conversion app? I am a little confused on how to start the code using this output.
 
The online image converter tool is a simple code that converts any image to an array of 24bit colour values. The tool output is such that you can copy and paste into the arduino sketch as a block. When using the tool, you need to input the number of leds in your strip, and how many 'slices' you want to divide your image into. The number of slices is important as this will impact visual quality, memory space, and display speed/time variables.

The image converter will always give the array output the name array1[]. change this to whatever you want when using multiple arrays in the code, just use the loop call to the PoiSonic routine with a that different name.
You would place this block as you would any array in your code. An example is below.

this is an example of the tool output:
Code:
const unsigned int array1[] = { 0xffffff, 0xb8dbf2, 0xa1c3dc, 0x629dd1, 0x629dd1, 
0x629dd1, 0x629dd1, 0x629dd1, /* lots of 24bit colour values */ 0x8c8c8c, 
0xffffff, 0x8c8c8c, 0xffffff, 0xffffff, 0xfcfef8, 0xffffff, 0xffffff, }; //end of array

The code below is a very basic piece of code that accesses the colour values held in the array and sends them to the leds.

Code:
/*
*This sketch outputs images to persistence of vision led strips
*It uses FastLed to drive APA102 leds, sending colour values from
*arrays held in flash memory (designated by 'const'). You need to
*set the number of slices you have made your image into,
*e.g. bmp image of 60 pixels high by 150 wide
* would give 60 num_leds and
* 150 slices (number of slices you have made your image into)
*/

#include "FastLED.h"

#define NUM_LEDS 60
#define DATA_PIN 2
#define CLOCK_PIN 3
CRGB leds[NUM_LEDS];
int numberOfSlices = 150;

void setup() {

delay(200);
  FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN>(leds, NUM_LEDS);
}

const unsigned int array1[] = { 0x000100, 0x000100, 0x000100, 0x000100, 0x000100, 0x000100, /*etc .. add your values here*/}; //end of array

const unsigned int array2[] = { /*different image output from the tool goes here if additional images wanted - just rename array1[] to another name, any name will do*/}; //end of array

void loop() {
PoiSonic(8000,array1);
//PoiSonic(2000, array2); 
/*first value is time to show the image, second value is array of colour values to use*/
/*put other code for patterns and more arrays here*/
}

void PoiSonic(unsigned long time, const unsigned int array[]){
unsigned long currentTime = millis();
 while (millis()< currentTime + (time)) {

int f= numberOfSlices;
int z; //a counter
int j=NUM_LEDS;

    for (int x=0;x<f;x++){
     for(z=NUM_LEDS;z>0;z--){
       leds[z-1]=array[x+((j-z)*f)];}
     FastLED.show();
     delayMicroseconds(40); //may need to increase / decrease depending on spin rate
     }       
    delayMicroseconds(1000); //may need to increase / decrease depending on spin rate
   }
 }
 
Last edited:
Hi,make some test with this image

testJ.jpg
and have result
yellow and blue line is visible
red is not visible,green maybe
image is rotated 90 degree clockwork
Poisonic
150 number of slice
72 leds
I use @mortonkopf sketch
i am confused why image is rotated

Thanks
 
Last edited:
@mortonkopf

Does this look right?

Code:
/*
#include <FastLED.h>

#define NUM_LEDS 60
#define DATA_PIN 11
#define CLOCK_PIN 14
CRGB leds[NUM_LEDS];
int numberOfSlices = 150;

void setup() {

delay(200);
  FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN>(leds, NUM_LEDS);
}

const unsigned int array1[] = { 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf297b1, 0xf499b0, 0xf499b0, 0xf399b0, 0xf499b0, 0xf499b1, 0xf499b0, 0xf499b0, 0xf499b0, 0xf499b0, 0xf499b1, 0xf499b1, 0xf499b0, 0xf499b0, 0xf498b2, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf599b0, 0xf499af, 0xf499b0, 0xf498b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf499b0, 0xf499b0, 0xf499b0, 0xf499b0, 0xf498af, 0xf499b0, 0xf599af, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf598b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599af, 0xf498af, 0xf498af, 0xf599af, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf19cb8, 0xf397ae, 0xf397ae, 0xf397ae, 0xf397ae, 0xf397ae, 0xf397ae, 0xf497af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf59ab0, 0xf397ae, 0xf397ae, 0xf397ae, 0xf397ae, 0xf397ae, 0xf397ae, 0xed92b6, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b1, 0xf498b1, 0xf499b1, 0xf499b0, 0xf398b0, 0xf398b0, 0xf398b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b1, 0xf599b2, 0xf499b1, 0xf499b1, 0xf398b0, 0xf499b1, 0xf499b2, 0xf297b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf599b1, 0xf499b0, 0xf398b0, 0xf398b1, 0xf499b0, 0xf599b0, 0xf498b2, 0xf498b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599af, 0xf599b0, 0xf498b0, 0xf499b1, 0xf499b1, 0xf499b0, 0xf499b1, 0xf499b1, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf599af, 0xf499b0, 0xf498af, 0xf599af, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b0, 0xf599b0, 0xf59ab0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf39ab2, 0xf396af, 0xf399af, 0xf399af, 0xf599b0, 0xf599af, 0xf599b1, 0xf499b1, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf398b1, 0xf599b0, 0xf699af, 0xf599b2, 0xf599af, 0xf399af, 0xf599b8, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf598b1, 0xf599b0, 0xf499b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf499b1, 0xf499b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf499b1, 0xf499b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf499af, 0xf59aaf, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf598b3, 0xf599b1, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf499b1, 0xf297b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf497b2, 0xf499b1, 0xf598b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b1, 0xf499b1, 0xf498b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf499b1, 0xf599af, 0xf598b0, 0xf498b1, 0xf499b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff92b6, 0xf599b0, 0xf499b0, 0xf398b0, 0xf298b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf399b1, 0xf499b1, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf499b1, 0xf599b0, 0xf599b0, 0xf498b0, 0xf399b2, 0xf499af, 0xf498b0, 0xf397b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xea95aa, 0xf499b1, 0xf399b1, 0xf398b1, 0xf398b0, 0xf398b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b1, 0xf499b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598b0, 0xf599b0, 0xf599b0, 0xf598b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf399b1, 0xf399b0, 0xf498b0, 0xf499b1, 0xf398b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff99b3, 0xf599b0, 0xf599b0, 0xf498b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf59ab0, 0xf390ab, 0xf28ea9, 0xf38fa9, 0xf48fa9, 0xf38fa8, 0xf38ea8, 0xf38da9, 0xf496ae, 0xf59ab1, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf59ab1, 0xf494ad, 0xf38da8, 0xf38faa, 0xf48ea9, 0xf48ea9, 0xf48fa9, 0xf38da8, 0xf492ac, 0xf59ab1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf597b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff99b3, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf4a1b8, 0xf4a4ba, 0xf3a1b6, 0xf5a3b7, 0xf4a4b8, 0xf4a2b8, 0xf4a4b9, 0xf59cb2, 0xf597af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf597af, 0xf49db4, 0xf3a5b9, 0xf4a2b7, 0xf4a2b7, 0xf5a3b8, 0xf4a2b8, 0xf3a4b9, 0xf49fb5, 0xf597af, 0xf599b0, 0xf598af, 0xf599b0, 0xf599b0, 0xf599af, 0xf599af, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff99b3, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf496ad, 0xf491aa, 0xfbe4e9, 0xfffdfd, 0xfefafa, 0xfefbfb, 0xfdfcfb, 0xfefbfc, 0xfefdfd, 0xf6b0c2, 0xf48ba6, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf499af, 0xf498af, 0xf488a3, 0xf6c0cd, 0xfefefd, 0xfefafb, 0xfefbfb, 0xfefbfc, 0xfdfbfb, 0xfdfdfd, 0xf9d3dc, 0xf38aa5, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598b0, 0xf599b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff99b3, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf495ad, 0xf48fa8, 0xfceaee, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf5b0c2, 0xf38ba5, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599af, 0xf599af, 0xf487a2, 0xf8c3cf, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfad7df, 0xf389a3, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff99b3, 0xf599b0, 0xf599b0, 0xf59cb2, 0xf493ab, 0xf387a2, 0xf384a1, 0xf27e9b, 0xfbe2e7, 0xffffff, 0xfffffe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf4a1b7, 0xf27897, 0xf387a3, 0xf38ca6, 0xf59ab1, 0xf599b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf59ab0, 0xf598af, 0xf389a4, 0xf388a3, 0xf27494, 0xf7b7c7, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf9ccd7, 0xf27695, 0xf387a2, 0xf387a2, 0xf495ad, 0xf49bb1, 0xf599b0, 0xf599b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff99b3, 0xf599b0, 0xf599b0, 0xf491ab, 0xf6a9bd, 0xf8c6d2, 0xf7c1d0, 0xf8bdcc, 0xfceef1, 0xfefeff, 0xfffefe, 0xffffff, 0xffffff, 0xfeffff, 0xfdfefd, 0xf9ced8, 0xf8bbca, 0xf8c6d2, 0xf5b9c9, 0xf395af, 0xf597af, 0xf498af, 0xf599b0, 0xf599af, 0xf495ad, 0xf39bb2, 0xf7bfce, 0xf8c3d1, 0xf7b8c8, 0xfad9e0, 0xfefffe, 0xfefffe, 0xffffff, 0xffffff, 0xfeffff, 0xfefffe, 0xfbe2e7, 0xf7bac9, 0xf8c3d0, 0xf8c4d1, 0xf4a1b8, 0xf393ac, 0xf599b0, 0xf599b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff99b3, 0xf599b0, 0xf599b0, 0xf285a2, 0xf6c1ce, 0xffffff, 0xffffff, 0xffffff, 0xfeffff, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfdfdfd, 0xffffff, 0xffffff, 0xffffff, 0xfcf0f2, 0xf28eaa, 0xf496ae, 0xf599af, 0xf498af, 0xf599af, 0xf491aa, 0xf39cb3, 0xfeffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefc, 0xfefefe, 0xffffff, 0xffffff, 0xfefefe, 0xfefdfc, 0xfeffff, 0xffffff, 0xffffff, 0xffffff, 0xf5aec1, 0xf38aa6, 0xf599b0, 0xf599b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf599b0, 0xf599b0, 0xf388a3, 0xf6bbc9, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfbe5ea, 0xf38ea8, 0xf597ae, 0xf599b0, 0xf599b0, 0xf599b0, 0xf492ab, 0xf49ab2, 0xfef5f7, 0xffffff, 0xffffff, 0xffffff, 0xfffffe, 0xfffffe, 0xffffff, 0xffffff, 0xfffffe, 0xfffefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf5aabe, 0xf38ca7, 0xf599b0, 0xf599b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498af, 0xf599b0, 0xf388a4, 0xf8bcca, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfbe4e9, 0xf48fa7, 0xf596ae, 0xf599b0, 0xf599b0, 0xf599b0, 0xf492ab, 0xf49bb2, 0xfdf4f7, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf6abbf, 0xf38ca7, 0xf599b0, 0xf498b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf496b1, 0xf499b0, 0xf499b0, 0xf398b0, 0xf499af, 0xf599b0, 0xf388a4, 0xf7bbca, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfbe4e9, 0xf38fa8, 0xf596ae, 0xf498af, 0xf599b0, 0xf599b0, 0xf392ab, 0xf39bb2, 0xfdf4f6, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf5abbe, 0xf38ca7, 0xf498af, 0xf499b0, 0xf399b1, 0xf499b0, 0xf497b0, 0xf598b3, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf399b0, 0xf499b1, 0xf599b0, 0xf599b1, 0xf599b0, 0xf599b0, 0xf388a4, 0xf7bbca, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfbe5ea, 0xf390a8, 0xf596ae, 0xf599b0, 0xf599b0, 0xf599b0, 0xf493aa, 0xf39bb2, 0xfdf4f7, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf5aabe, 0xf48da8, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf499b1, 0xf499b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b0, 0xf499b1, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf288a4, 0xf7bbca, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfbe5ea, 0xf390a8, 0xf596ae, 0xf599b0, 0xf599af, 0xf599b0, 0xf592ab, 0xf499b2, 0xfdf4f7, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xf6abbf, 0xf48da8, 0xf599af, 0xf599b0, 0xf599af, 0xf599b0, 0xf499b1, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b0, 0xf399b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf288a4, 0xf7bbcb, 0xffffff, 0xffffff, 0xffffff, 0xcee4f2, 0xc3daed, 0xc3deef, 0xc3deef, 0xc3deef, 0xc3deef, 0xc3daed, 0xeef5fa, 0xffffff, 0xffffff, 0xfbe4ea, 0xf38fa8, 0xf496ae, 0xf599b0, 0xf599b1, 0xf598b0, 0xf492ac, 0xf49ab1, 0xfdf4f5, 0xffffff, 0xffffff, 0xe3f0f8, 0xc3d8ec, 0xc3deef, 0xc3deef, 0xc3deef, 0xc3deef, 0xc3d8ed, 0xd8e9f5, 0xffffff, 0xffffff, 0xfeffff, 0xf4aabe, 0xf38da7, 0xf599b0, 0xf599b0, 0xf498af, 0xf598b0, 0xf599b1, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599af, 0xf388a4, 0xf8bccc, 0xffffff, 0xffffff, 0xffffff, 0x1c82c3, 0x0055ae, 0x0067b7, 0x0067b6, 0x0067b6, 0x0065b5, 0x0056ae, 0xafd3e9, 0xffffff, 0xffffff, 0xfce4ea, 0xf48fa8, 0xf596ae, 0xf599b0, 0xf499b1, 0xf698b0, 0xf392ac, 0xf39bb2, 0xfdf4f6, 0xffffff, 0xffffff, 0x7fb8dd, 0x004ca9, 0x0067b7, 0x0067b6, 0x0067b6, 0x0067b6, 0x004daa, 0x4b9bd0, 0xffffff, 0xffffff, 0xfeffff, 0xf5aabf, 0xf38ca8, 0xf599af, 0xf599b0, 0xf498af, 0xf499af, 0xf598b0, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf288a4, 0xf8bccc, 0xffffff, 0xffffff, 0xffffff, 0x2688c6, 0x005cb1, 0x006db9, 0x006eb9, 0x006eb9, 0x006cb8, 0x005db1, 0xb3d5eb, 0xffffff, 0xffffff, 0xfbe5ea, 0xf48fa9, 0xf596ae, 0xf599b0, 0xf499b0, 0xf599af, 0xf492ab, 0xf39ab2, 0xfdf5f6, 0xffffff, 0xffffff, 0x85bcdf, 0x0053ac, 0x006eb9, 0x006eb9, 0x006eb9, 0x006eb9, 0x0055ac, 0x53a1d2, 0xffffff, 0xffffff, 0xffffff, 0xf4abbe, 0xf38ca7, 0xf599af, 0xf599b0, 0xf699b0, 0xf699b0, 0xf499b0, 0xf398b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf285a2, 0xf7c0ce, 0xffffff, 0xffffff, 0xffffff, 0x2c8dc9, 0x005fb2, 0x0072bb, 0x0072bb, 0x0072bb, 0x0070ba, 0x0061b2, 0xb5dff2, 0xffffff, 0xffffff, 0xfbeef1, 0xf28ea9, 0xf496ad, 0xf599af, 0xf599b0, 0xf599af, 0xf491aa, 0xf39cb3, 0xfdffff, 0xffffff, 0xffffff, 0x88c5e4, 0x0057ae, 0x0072bb, 0x0072bb, 0x0072bb, 0x0072bb, 0x0058ad, 0x57a7d6, 0xffffff, 0xffffff, 0xffffff, 0xf5aebf, 0xf38aa5, 0xf599b0, 0xf599b0, 0xf498b1, 0xf499b1, 0xf499b0, 0xf39ab0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf391ab, 0xf5a6bb, 0xf7c0ce, 0xfebfcb, 0xffc0cc, 0x2b7fbe, 0x0069b9, 0x0072bb, 0x0072bb, 0x0072bb, 0x0071bb, 0x006ab9, 0xaea8c7, 0xffc4cd, 0xf8c0ce, 0xf6b5c6, 0xf495ae, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf596ae, 0xf39bb2, 0xf6bbca, 0xf8becc, 0xffc6cc, 0x849ac3, 0x0065b8, 0x0072bb, 0x0072bb, 0x0072bb, 0x0072bb, 0x0065b8, 0x558cc1, 0xffc5cd, 0xf9bdcc, 0xf7bfcd, 0xf5a0b7, 0xf494ac, 0xf599b0, 0xf599b0, 0xf498b1, 0xf498b0, 0xf499b0, 0xf39ab0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b0, 0xf498b1, 0xf499b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf59bb2, 0xf492ab, 0xf387a2, 0xfd89a2, 0xff89a2, 0x2b76b7, 0x006fbd, 0x0072bb, 0x0072bb, 0x0072bb, 0x0071bb, 0x006fbe, 0xad81aa, 0xff8ea1, 0xf387a2, 0xf38ca6, 0xf59ab1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf59ab2, 0xf498b0, 0xf389a4, 0xf387a3, 0xff8ea0, 0x827dae, 0x006ebf, 0x0072bb, 0x0072bb, 0x0072bb, 0x0072bb, 0x006ebf, 0x5479b2, 0xff8da1, 0xf588a3, 0xf387a2, 0xf495ad, 0xf59bb1, 0xf599b0, 0xf599b0, 0xf699b0, 0xf598af, 0xf498b0, 0xf498b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b0, 0xf498b1, 0xf499b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xfe9aaf, 0xff9baf, 0x1d77b9, 0x006abd, 0x006fbc, 0x0070bc, 0x006fbc, 0x006fbc, 0x006bbd, 0xa98db3, 0xff9fae, 0xf598b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b1, 0xf498b0, 0xf599b0, 0xf599b0, 0xffa0ad, 0x7c86b5, 0x0068be, 0x006fbc, 0x006fbc, 0x006fbc, 0x006fbc, 0x0068be, 0x4a7eb7, 0xff9eae, 0xf699af, 0xf599af, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b1, 0xf698b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b0, 0xf499b1, 0xf498b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xfd9aaf, 0xff9aaf, 0x2e79b9, 0x056ebc, 0x0573bb, 0x0572bb, 0x0573bb, 0x0572bb, 0x056ebc, 0xaf8eb3, 0xff9fae, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xffa0ad, 0x8587b5, 0x046cbd, 0x0473bb, 0x0573bb, 0x0573bb, 0x0573bb, 0x056cbd, 0x5880b7, 0xff9eae, 0xf699af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499af, 0xf598b0, 0xf599b1, 0xf698b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf39ab0, 0xf499b0, 0xf598b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599af, 0xf699b0, 0xdf95b1, 0xdb94b1, 0xda95b2, 0xd994b2, 0xd994b2, 0xda94b2, 0xda94b2, 0xed97b0, 0xf699af, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf69ab0, 0xe897b1, 0xd994b2, 0xda95b1, 0xda94b0, 0xda94b1, 0xdb94b2, 0xd994b2, 0xe297b1, 0xf69ab0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598b0, 0xf698b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf39ab0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf498af, 0xf498b0, 0xf498b0, 0xff9caf, 0xff9daf, 0xff9daf, 0xff9cb0, 0xff9caf, 0xff9eaf, 0xff9eaf, 0xfb9ab0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498b0, 0xff9bb0, 0xff9eb1, 0xff9db0, 0xff9cae, 0xff9dae, 0xff9daf, 0xff9eaf, 0xff9caf, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf598b0, 0xf698b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b1, 0xf398b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf599af, 0xf599b0, 0xf599b0, 0xf599af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b1, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf598b0, 0xf599b0, 0xf499b1, 0xf398b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b1, 0xf398b1, 0xf599b0, 0xf598b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b1, 0xf599b1, 0xf599af, 0xf499af, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b1, 0xf398b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b1, 0xf499b0, 0xf599af, 0xf498b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf498af, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf498b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf599b0, 0xf599b0, 0xf599af, 0xf599af, 0xf498af, 0xf599b0, 0xf599b0, 0xf498b0, 0xf499b0, 0xf699b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf499b0, 0xf698b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b1, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b1, 0xf499b0, 0xf598af, 0xf499b0, 0xf599b1, 0xf498b0, 0xf499b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf499b1, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf498b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b1, 0xf499b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf398b2, 0xf499b1, 0xf599af, 0xf499b2, 0xf498b0, 0xf599b1, 0xf499b2, 0xf398b2, 0xf599b1, 0xf599af, 0xf499b0, 0xf599b0, 0xf599af, 0xf498af, 0xf599b0, 0xf699b0, 0xf499b1, 0xf498b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf499b0, 0xf398b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b1, 0xf399b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b2, 0xf399b1, 0xf599af, 0xf399b1, 0xf599af, 0xf599af, 0xf499b2, 0xf398b2, 0xf499b1, 0xf599af, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf499b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599af, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b1, 0xf39ab1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b1, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf499b0, 0xf499b0, 0xf498b0, 0xf398b0, 0xf499b1, 0xf499b0, 0xf599af, 0xf599b0, 0xf598af, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf498b1, 0xf499b1, 0xf499b1, 0xf398b0, 0xf499b0, 0xf598b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b1, 0xf499b1, 0xf498b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf499b1, 0xf398b0, 0xf299b1, 0xf399b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b0, 0xf499b1, 0xf498b1, 0xf398b2, 0xf499b1, 0xf498b1, 0xf598b2, 0xf599b1, 0xf599af, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf498af, 0xf499b0, 0xf498b0, 0xf599b0, 0xf499b0, 0xf498b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b1, 0xf498b1, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf498b1, 0xf299b1, 0xff99b3, 0xff99b3, 0xff99b3, 0xf598b0, 0xf599b0, 0xf599b1, 0xf499b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf49aaf, 0xff99b3, 0xff99b3, 0xe699b3, 0xf499b1, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b1, 0xf498b0, 0xf598af, 0xf499b0, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf698b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599af, 0xf599b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498af, 0xf599b0, 0xf599af, 0xf498b0, 0xf399b1, 0x000000, 0x000000, 0x000000, 0xf598af, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599af, 0x000000, 0x000000, 0x000000, 0xf399af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf599af, 0xf599b0, 0xf498b0, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf498b0, 0xf598b0, 0xf599b0, 0xf499b0, 0xf499b1, 0xf498b0, 0xf599b1, 0xf498b0, 0xf598af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf498af, 0xf498b0, 0xf399b0, 0x000000, 0x000000, 0x000000, 0xf499b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xf499b0, 0xf498b0, 0xf599b0, 0xf599b0, 0xf599af, 0xf599b0, 0xf599b0, 0xf498ae, 0x000000, 0x000000, 0x000000, 0xf399b0, 0xf598b0, 0xf499b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf499b0, 0xf598af, 0xf499b0, 0xf498af, 0xf498af, 0xf599b1, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf297b1, 0xf599b1, 0xf398af, 0xf499af, 0xf499b0, 0xf499b0, 0xf399b1, 0xf498b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf59ab0, 0xf399b1, 0xf398b1, 0xf396b0, 0x000000, 0x000000, 0x000000, 0xf398af, 0xf599b1, 0xf799b1, 0xf598b1, 0xf398b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf599b0, 0xf398b1, 0xf49ab1, 0xf399b1, 0xf398b1, 0xf398b1, 0x000000, 0x000000, 0x000000, 0xf397b0, 0xf599b1, 0xf298ad, 0xf398af, 0xf599b0, 0xf599b0, 0xf599af, 0xf498b0, 0xf498b0, 0xf598af, 0xf599b0, 0xf398b1, 0xf398b1, 0xf398af, 0xf297b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf599af, 0xf599af, 0xf399b1, 0xf599b0, 0xf599b0, 0xf599b0, 0xf598af, 0xffa2b9, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xed92b6, 0xf398b0, 0xf599b0, 0xf599af, 0xf498af, 0xf599b0, 0xf499b0, 0xf398b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf398b1, 0xf599b0, 0xf599b0, 0xf498b0, 0xf498af, 0xf599b0, 0xf599b0, 0xf699af, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xff8eaa, 0xf598b0, 0xf598b1, 0xf499b0, 0xf499b0, 0xf499af, 0xf499af, 0xf499b1, 0xf397ae, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xee9bb1, 0xf499b0, 0xf498b0, 0xf498b0, 0xf498b0, 0xf499b0, 0xf398b0, 0xf499b0, 0xff92b6, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf69bb2, 0xf599af, 0xf498b0, 0xf499b1, 0xf499b0, 0xf599b0, 0xf599b0, 0xf497af, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xffa2b9, 0xf498b0, 0xf498b1, 0xf498b0, 0xf499b0, 0xf498b0, 0xf498b0, 0xf599b1, 0xf49aaf, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf599b3, 0xf498b0, 0xf498b1, 0xf498b1, 0xf499b1, 0xf399b0, 0xf499b0, 0xf498b1, 0xff8eaa, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf49ab2, 0xf498b0, 0xf499b0, 0xf498b1, 0xf499b1, 0xf499b0, 0xf498b0, 0xf498b1, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xffaaaa, 0xf399b2, 0xf498b1, 0xf498b0, 0xf498b0, 0xf498b0, 0xf698b1, 0xf698b1, 0xf69bad, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf799b3, 0xf498b1, 0xf498b1, 0xf398b0, 0xf498b0, 0xf498b0, 0xf498b0, 0xf39ab1, 0xff99cc, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0xf196b2, 0xf398b1, 0xf698b1, 0xf498b1, 0xf398b1, 0xf398b1, 0xf398b1, 0xf398b0, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, }; //end of array



void loop() {
PoiSonic(8000,array1);

}

void PoiSonic(unsigned long time, const unsigned int array[]){
unsigned long currentTime = millis();
 while (millis()< currentTime + (time)) {

int f= numberOfSlices;
int z; //a counter
int j=NUM_LEDS;

    for (int x=0;x<f;x++){
     for(z=NUM_LEDS;z>0;z--){
       leds[z-1]=array[x+((j-z)*f)];}
     FastLED.show();
     delayMicroseconds(40); 
     }       
    delayMicroseconds(1000); 
   }
 }



When i try to upload this sketch i get this error message:

In function 'void loop()':
pink_ghost-try2:20: error: 'PoiSonic' was not declared in this scope
PoiSonic(8000,array1);
^
exit status 1
'PoiSonic' was not declared in this scope
 
this looks like the compile error related to using arduino IDE 1.6.6 with FastLED. I had to go back to 1.6.5. But it could be a simple bracket or semicolon missing
 
Tried using 1.6.5 and the PoiSonic error did not come up this time.

but i get an error stating "wrong number of template arguments (3, should be 2)" and "could not convert template argument 'APA102' to 'EBlockChipsets'"


any thoughts?

I appreciate any advice i'm very excited to get this project up and running correctly
 
hmm. The EBlockChipset error looks like it is to do with the FastLED lib. Do you have the most recent version from the github? Also, make sure that you do not have any other copies of the FastLED library available on your computer by removing them.
 
hmm. The EBlockChipset error looks like it is to do with the FastLED lib. Do you have the most recent version from the github? Also, make sure that you do not have any other copies of the FastLED library available on your computer by removing them.

I tried the code on a teensy lc and it compiled and uploaded but I just got white leds and the bottom half kind of strobing but not an image. I've got the Adafruit POV sketches running okay so it is wired up okay. Not sure why it's not displaying images.

Is there any other compilations I can try?

Also, where is the online conversion tool? Adafruit directs to installig Python which I tried but it is a lengthy process on OSx it looks like.

I have a bit of code to process to rgb values in processing.js but is this code compatible with rgb values?
 
Got it working now. Im using teensy lc and it is displaying images like it should. How many images can you fit on teensy 3? I have 3 images, 60x60 and thats all I can fit. I will probably cut it down to 30 leds but would like more that a dozen images if possible.
 
Glad its working. The Teensy3.2 can hold six pov arrays of 60*150 pixel image. I mix the images with patterns and loops that generate interesting effects, so that I can have more interest going on than just the images.
What was the issue, so that others might avoid it? Was it the array?
 
Hi
Dj Namaste,with teensy 3.2 i have 4 image 72*72 and some extra space.Image resolution is 72 pixel/inch and export to BMP before using Poisonic converter.
In Poisonic i use 150 slices-image.
Sometime i have download error in teensy loader with more of 2 images. Arduino is 1.6.5,teensy 1.26
 
I did not enter the right slice number. Now that is corrected its working fine just wish there were more space.
When using a SD card shield, does the code change much? I have some shields and did get teensy communicating with the card. I would like to make it so the card can have images loaded and then have the processing of the image done on board so you can upload images and have it just work.
 
HI
@mortoncopf
Thanks for your work
I have one question/suggestion
If its posible in your sketch to have array with different Output width(number of image slices)
for example
array 1 int numberOfSlices = 150
array 2 int numberOfSlices = 200
......

Thanks
 
absolutely, yes you can do that by changing the int numberOfSlices. The sketch is supposed to be manipulated that way. You just have to make sure that the array has the correct number of values in it. You can do this by setting the image converter variable Output width(number of image slices) to 200.

What you need to do is give void PoiSonic(...) a new name like PoiSonic200(), make a new variable numberOfSlices200 = 200, and in the PoiSonic200 just change the variable to the new one. That way you have two routines, and just put them in the order you want to call them in the loop().
 
sorry for bothering,but still don't understand.
if i have

Code:
#include "FastLED.h"      

#define NUM_LEDS 72 //number of leds in strip length on one side
#define DATA_PIN 7 //= second hardware spi data
#define CLOCK_PIN 14 //= second hardware spi clock
CRGB leds[NUM_LEDS];
int numberOfSlices = 150;
void setup() {

  delay(200);
    FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN>(leds, NUM_LEDS);
 } 
const unsigned int array1[] = { 0x000100, 0x000100, ......}; //end of array
const unsigned int array2[] = { 0x000100, 0x000100, ......}; //end of array
const unsigned int array3[] = { 0x000100, 0x000100, ......}; //end of array
const unsigned int array4[] = { 0x000100, 0x000100, ......}; //end of array
const unsigned int array5[] = { 0x000100, 0x000100, ......}; //end of array
void loop() {
  
PoiSonic(5000,array1);//holly
PoiSonic(5000,array2);//holly
PoiSonic(5000,array3);//holly
PoiSonic(5000,array4);//holly
PoiSonic(5000,array5);//holly

}

void PoiSonic(unsigned long time, const unsigned int array[]){
unsigned long currentTime = millis();
 while (millis()< currentTime + (time)) {

int f= numberOfSlices;
int z; //a counter
int j=NUM_LEDS;

    for (int x=0;x<f;x++){
     for(z=NUM_LEDS;z>0;z--){
       leds[z-1]=array[x+((j-z)*f)];}
     FastLED.show();
     delayMicroseconds(400); //may need to increase / decrease depending on spin rate
     }       
    delayMicroseconds(1000); //may need to increase / decrease depending on spin rate
   }
 }


in this situation all array 1,2,3,4,5 have int numberofslice = 150

what i like in same sketch
example


Code:
array1 int numberOfSlices = 150 ;image Height 72 x width 150
array2 int numberOfSlices = 200 ;image Height 72 x width 200
array3 int numberOfSlices = 250  ;image Height 72 x width 250
array4 int numberOfSlices = 100  ;image Height 72 x width 100
array5 int numberOfSlices = 50    ;image Height 72 x width 50


in image converter variable Output width(number of image slices) to 150,200,250......

can you post some simple explanation

Thanks
 
there are a few ways to do this. The best is probably to change the call to the void PoiSonic function by adding another parameter, the number of slices in the given array. So, the new / replacement function would look like Void PoiSonic (time, array name, slices). An example would be PoiSonic(5000,array5, 200);

So, in loop you call all of your PoiSonic in the same order, but change the time, array name and number of slices being used such as:
PoiSonic(5000,array5, 200);
PoiSonic(5000,array2, 100);
PoiSonic(5000,array1, 150);

In the function, you need to change the variable reference, so the declaration of the function has an additional variable named in it. it could look this:

Code:
void PoiSonic(unsigned long time, const unsigned int array[], int sliceNumber){
unsigned long currentTime = millis();
 while (millis()< currentTime + (time)) {

int f= sliceNumber;// previously used numberOfSlices;
int z; //a counter
int j=NUM_LEDS;

    for (int x=0;x<f;x++){
     for(z=NUM_LEDS;z>0;z--){
       leds[z-1]=array[x+((j-z)*f)];}
     FastLED.show();
     delayMicroseconds(40); //may need to increase / decrease depending on spin rate
     }       
    delayMicroseconds(1000); //may need to increase / decrease depending on spin rate
   }
 }

This will then grab rows of array data for the given number of slices declared.

EDIT: error of missing semi colon updated
 
Last edited:
now i have some error with 'z'

Code:
Arduino: 1.6.5 (Mac OS X), TD: 1.26, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz optimized (overclock), US English"

In file included from BMP72.ino:1:0:
/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/FastLED/FastLED.h:12:2: warning: #warning FastLED version 3001000 (Not really a warning, just telling you here.) [-Wcpp]
#warning FastLED version 3001000  (Not really a warning, just telling you here.)
^
BMP72.ino: In function 'void PoiSonic(long unsigned int, const unsigned int*, int)':
BMP72:100: error: expected ',' or ';' before 'int'
BMP72:104: error: 'z' was not declared in this scope
'z' was not declared in this scope

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
 
oops. There should have been a semi colon after declaring the slice variable. "int f= sliceNumber// previously used numberOfSlices;" It should have been:
Code:
int f= sliceNumber;
with the semi colon on the end.
I have edited the original post to remove the error.
 
Once more thank you for great help, @mortonkopf ! :)

Sorry for interrupting programming discussion, I have a short hardware question. Could you provide information how do you connected V+ on LED strips to Teensy/LiPo charger? Have you connected it with Vin on Teensy (which is than connected to Lipo charger)? I am asking for that because if you normally use LiPo battery 3.7V to power Teensy, on Vin pin its 3.7V. But if you plug USB with 5V on it, the charger will power Vin from VUSB with 5V and so the LED strip connected to it. However LED strip shouldn't be power by 5V if data pin is fed with 3.3V (as explained earlier in this topic by @MichaelMeissner).
 
@Fr1day, I cut the USB trace underneath the Teensy, so there is not USB 5v supply. This means that all power comes from the Lipo at 3.7v.
 
I would like to use smaller images and repeat them down the row of LEDS. Im sure there is a way to do this but how?
This works on the top image but the image below is a blinking mess. How do I change it so it displays images down the line?

void PoiSonic(unsigned long time, const unsigned int array[], int sliceNumber){
unsigned long currentTime = millis();
while (millis()< currentTime + (time)) {

int f= sliceNumber;// previously used numberOfSlices;
int z; //a counter
int j=NUM_LEDS;


for (int k=0; k<NUM_LEDS;k++){
for (int x=0;x<f;x++){
for(z=NUM_LEDS;z>0;z--){
leds[z-1]=array[x+((j-z)*f)];}
FastLED.show();
delayMicroseconds(40); //may need to increase / decrease depending on spin rate
}

delayMicroseconds(1000); //may need to increase / decrease depending on spin rate
}
}
}
 
@dj namaste, which way are you calling a row, or a column. Is it possible to sketch what you mean, or perhaps explain again. Are you repeating along the length of the strip?
 
@dj namaste, which way are you calling a row, or a column. Is it possible to sketch what you mean, or perhaps explain again. Are you repeating along the length of the strip?

Yes repeating down the line so multiple images.

I think the NUM_LEDS needs to be changed to a different variable that can be set to the image height. I'm pretty sure that is what I did wrong. Right now I have one image on the top of the strip and the bottom image is all scattered like what happens when you don't have the right definition of slices.

Like the change where the image slices is attached to the file itself it would be good to do the same with height so you can have repeating images of various sizes.
 
Back
Top