Alex Leung
/
Nucleo_read_analog_value
123
main.cpp
- Committer:
- a2824256
- Date:
- 2017-10-09
- Revision:
- 1:361a6fe46f88
- Parent:
- 0:b3b9ee2613e5
File content as of revision 1:361a6fe46f88:
#include "mbed.h" Serial pc(USBTX, USBRX); int rn; int main() { // while(1) { rn = (rand()%11)+35; pc.printf("%d\n",rn); wait(1); } }