Alexandre Lemay / Mbed 2 deprecated APP1_s5_A17

Dependencies:   mbed MMA8452

Committer:
ThierryLeonard
Date:
Tue Sep 05 10:27:28 2017 +0000
Revision:
9:b9ac1d914762
Parent:
7:b1b4db3eedb4
Merged, working UART with accelerometer

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ThierryLeonard 9:b9ac1d914762 1 //#include "mbed.h"
ThierryLeonard 9:b9ac1d914762 2 //#include "Afficheur.h"
ThierryLeonard 9:b9ac1d914762 3 //
ThierryLeonard 9:b9ac1d914762 4 //
ThierryLeonard 9:b9ac1d914762 5 //Serial pc(USBTX, USBRX); // tx, rx
ThierryLeonard 9:b9ac1d914762 6 //
ThierryLeonard 9:b9ac1d914762 7 //Afficheur afficheur;
ThierryLeonard 9:b9ac1d914762 8 //
ThierryLeonard 9:b9ac1d914762 9 //int main() {
ThierryLeonard 9:b9ac1d914762 10 // while(1)
ThierryLeonard 9:b9ac1d914762 11 // {
ThierryLeonard 9:b9ac1d914762 12 // if(pc.readable())
ThierryLeonard 9:b9ac1d914762 13 // {
ThierryLeonard 9:b9ac1d914762 14 // afficheur.write(pc.getc());
ThierryLeonard 9:b9ac1d914762 15 // }
ThierryLeonard 9:b9ac1d914762 16 //
ThierryLeonard 9:b9ac1d914762 17 // }
ThierryLeonard 9:b9ac1d914762 18 //
ThierryLeonard 9:b9ac1d914762 19 //}