Dependents: cobaLCDJoyMotor_Thread odometry_omni_3roda_v3 odometry_omni_3roda_v1 odometry_omni_3roda_v2 ... more
features/unsupported/tests/mbed/reset/main.cpp
- Committer:
- be_bryan
- Date:
- 2017-12-11
- Revision:
- 0:b74591d5ab33
File content as of revision 0:b74591d5ab33:
#include "mbed.h" #if !DEVICE_SEMIHOST #error [NOT_SUPPORTED] Semihost not supported #endif Serial pc(USBTX, USBRX); extern "C" void mbed_reset(); int main() { pc.printf("start\n"); wait(1); unsigned int counter = 0; while(1) { pc.printf("%u\n",counter++); wait(1); mbed_reset(); } }