hi,
3 questions about the blob data:
1.) what is the sort order of incoming blob data e.g. by the hello__world example sketch (SPI mode) ?
do the data come in either reliably sorted pre-order or do they come randomly ?
2.) what is this
if (i % 10==0)...
for?
3.) are all available data of each recognized block shown or do exist yet additionally non-displayed obscured blob data?
void loop()
{
static int i = 0;
int j;
uint16_t blocks;
char buf[32];
blocks = pixy.getBlocks();
if (blocks)
{
i++;
if (i % 10==0)
{
sprintf(buf, "Detected %d:\n", blocks);
Serial.print(buf);
for (j=0; j<blocks; j++)
{
sprintf(buf, " block %d: ", j);
Serial.print(buf);
pixy.blocks[j].print();
}
}
}
}