Pot num

Fork of ad5272 by Dock_HubleX

AD5272.h

Committer:
gr66
Date:
2017-05-19
Revision:
1:f2f915beff69
Parent:
0:0af3d83fc568

File content as of revision 1:f2f915beff69:


#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;
    };