Library creation

MobiusCam.h

Committer:
GlessConsult
Date:
2016-03-17
Revision:
0:bd5d25911e06

File content as of revision 0:bd5d25911e06:

#ifndef MBED_MOBIUS_H
#define MBED_MOBIUS_H
 
#include "mbed.h"
#include "USBHostMSD.h"

class MobiusCam {
public:
    MobiusCam(PinName camV5V, PinName camUSB) : _camV5V(camV5V), _camUSB(camUSB), _msd("usb")   {  
        _camV5V = 0;
        _camUSB = 0;                                                                                
    }
 
    void clip(int t);
    void directory(char *buf, int bufLen);
    
private:
    DigitalOut _camV5V;
    DigitalOut _camUSB;
    USBHostMSD _msd;    
};

#endif