123

Dependencies:   mbed

main.cpp

Committer:
a2824256
Date:
2017-10-09
Revision:
0:b3b9ee2613e5
Child:
1:361a6fe46f88

File content as of revision 0:b3b9ee2613e5:

#include "mbed.h"
 
Serial pc(USBTX, USBRX);
int rn;
int main() {
    
    while(1) {
        rn = (rand()%11)+35;
        pc.printf("%d\n",rn);
        wait(1);
    }
}