Pot num

Fork of ad5272 by Dock_HubleX

AD5272.h

Committer:
hamzaaday
Date:
2017-05-11
Revision:
0:0af3d83fc568

File content as of revision 0:0af3d83fc568:


#include "mbed.h"  



class AD5272 {
    public:
    AD5272(PinName sda, PinName scl);
    void initPot();
    unsigned short getPot();
    void setPot(unsigned short);
    
    
    private:
    I2C i2c;
    int addresse;
    };