Voltimetro digital 0 - 3,3v

Dependencies:   mbed

main.cpp

Committer:
Digitalesavanzados
Date:
2016-08-20
Revision:
0:d994dd919d32

File content as of revision 0:d994dd919d32:

#include "Volti.h"

AnalogIn lec(A0);

int main()
{
    double meas;
    voltime lab2;
    lab2.configout(D2,D3,D4,D5,D6,D7,D8,D9,D10,D11,D12,D13);

    while(1) {

        meas = lec.read_u16();
        lab2.vol(meas);
    }

}