doppler shift / Mbed 2 deprecated STM32_ADC_InternalChannels

Dependencies:   mbed

Committer:
ryouheitakamoto
Date:
Mon Dec 07 07:01:06 2020 +0000
Revision:
1:2cebb75d319e
Parent:
0:ea607cf8589c
calsat_pc; ;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
KINU 0:ea607cf8589c 1 #include "mbed.h"
KINU 0:ea607cf8589c 2 Serial pc(USBTX, USBRX, 9600);
ryouheitakamoto 1:2cebb75d319e 3 Serial device(PA_9,PA_10);
KINU 0:ea607cf8589c 4
KINU 0:ea607cf8589c 5 //DigitalOut dir(D4);
KINU 0:ea607cf8589c 6
KINU 0:ea607cf8589c 7 int main()
KINU 0:ea607cf8589c 8 {
KINU 0:ea607cf8589c 9 while(1) {
KINU 0:ea607cf8589c 10
KINU 0:ea607cf8589c 11 while(pc.readable()){
ryouheitakamoto 1:2cebb75d319e 12 char a = device.getc();
ryouheitakamoto 1:2cebb75d319e 13 pc.putc(a);
KINU 0:ea607cf8589c 14 }
KINU 0:ea607cf8589c 15
KINU 0:ea607cf8589c 16
KINU 0:ea607cf8589c 17 }
KINU 0:ea607cf8589c 18 }