cette librairie contient les fonctions de base permettant de detecter un objet avec la camera pixy

Dependents:   pixy_base

Pixy.h

Committer:
michelmoulin
Date:
2020-11-18
Revision:
0:a1e10abfbd19

File content as of revision 0:a1e10abfbd19:

#ifndef _PIXY_H
#define _PIXY_H

#include "TPixy.h"
#include "TPixyInterface.h"

class PixySPI : public TPixy<PixyInterfaceSPI>
{
public:
    PixySPI(SPI* spi, Serial* serialOut = NULL, uint16_t arg = PIXY_DEFAULT_ARGVAL) :
        TPixy<PixyInterfaceSPI>((new PixyInterfaceSPI(spi)), serialOut, arg) {}
};

#endif