AND / Mbed 2 deprecated FeNO_LCD

Dependencies:   mbed TextLCD

main.cpp

Committer:
christodoulos
Date:
2019-05-23
Revision:
0:a13b440d4fd1
Child:
1:fd5a598caa32

File content as of revision 0:a13b440d4fd1:

#include "mbed.h"
AnalogIn ain(A3);
Serial ttl(PA_0, PA_1);

int main()
{  

    ttl.baud(9600);
    float x=0;
    
    while(1) {
        x=3.3*ain; //Logic level 3.3
        ttl.printf("%f\n", x);
    }
}