Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: cobaLCDJoyMotor_Thread odometry_omni_3roda_v3 odometry_omni_3roda_v1 odometry_omni_3roda_v2 ... more
features/unsupported/tests/benchmarks/cenv/main.cpp@0:b74591d5ab33, 2017-12-11 (annotated)
- Committer:
- be_bryan
- Date:
- Mon Dec 11 17:54:04 2017 +0000
- Revision:
- 0:b74591d5ab33
motor ++
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| be_bryan | 0:b74591d5ab33 | 1 | #include "mbed.h" |
| be_bryan | 0:b74591d5ab33 | 2 | |
| be_bryan | 0:b74591d5ab33 | 3 | volatile int x, y, z; |
| be_bryan | 0:b74591d5ab33 | 4 | int main() { |
| be_bryan | 0:b74591d5ab33 | 5 | while(1) { |
| be_bryan | 0:b74591d5ab33 | 6 | z = x * y; |
| be_bryan | 0:b74591d5ab33 | 7 | } |
| be_bryan | 0:b74591d5ab33 | 8 | } |