For Hepta-Sat Lite

Dependencies:   mbed

main.cpp

Committer:
heptasat2021
Date:
2021-11-02
Revision:
0:dbc8c629f749

File content as of revision 0:dbc8c629f749:

#include "mbed.h"

Serial pc(USBTX, USBRX, 9600);
AnalogIn temt6000(PA_3);

int main()
{
  while(1)
  {
    float x = temt6000;    //x range 0.0 ~ 1.0
    pc.printf("%f\r\n", x);
    wait(0.50);
  }
}