Communication

Dependencies:   mbed

main.cpp

Committer:
HarshaDRAGNEEL
Date:
2018-06-07
Revision:
0:7630964cf96f

File content as of revision 0:7630964cf96f:

#include "mbed.h"
 
int s=0;

   Serial a(D1,D0);
 
int main() {
  
   int c;
   while(1) {
       for(s=0;s<=10;s++){
        c=s;
         a.printf("%c",c); 
         wait(2);
    }
}
}