Mattéo

Dependencies:   mbed Pixy2_Library2

Pixy2_Library.h

Committer:
benbrou06
Date:
2020-05-15
Revision:
1:b91387b1d393
Parent:
0:fc353d12d2b1

File content as of revision 1:b91387b1d393:

/*
 * mbed library for Pixy2 Camera
 * Copyright (c) 2019 Jordan DUCHÊNE
 */


 
#ifndef Pixy2_Library_H
#define Pixy2_Library_H
#include "mbed.h"

/**
  Pixy2_Library class
 */
class Pixy2_Library {

    I2C* composant;
    int I2Caddress;
    
public:

    Pixy2_Library (PinName p_sda, PinName p_scl, int address);
    void Pixy2_WhiteLED(bool);
    void Pixy2_SetServo(int,int);
    void Pixy2_RGBLED(bool);
    int Pixy2_GetBlock(char,int);

};

#endif