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.
Dependencies: mbed GoogleChart
main.cpp@0:998c5b34086a, 2010-10-13 (annotated)
- Committer:
- shintamainjp
- Date:
- Wed Oct 13 10:49:38 2010 +0000
- Revision:
- 0:998c5b34086a
First version.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| shintamainjp | 0:998c5b34086a | 1 | /** |
| shintamainjp | 0:998c5b34086a | 2 | * Test program. |
| shintamainjp | 0:998c5b34086a | 3 | * |
| shintamainjp | 0:998c5b34086a | 4 | * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) |
| shintamainjp | 0:998c5b34086a | 5 | * http://shinta.main.jp/ |
| shintamainjp | 0:998c5b34086a | 6 | */ |
| shintamainjp | 0:998c5b34086a | 7 | |
| shintamainjp | 0:998c5b34086a | 8 | DigitalOut myled(LED1); |
| shintamainjp | 0:998c5b34086a | 9 | |
| shintamainjp | 0:998c5b34086a | 10 | int main() { |
| shintamainjp | 0:998c5b34086a | 11 | while(1) { |
| shintamainjp | 0:998c5b34086a | 12 | myled = 1; |
| shintamainjp | 0:998c5b34086a | 13 | wait(0.2); |
| shintamainjp | 0:998c5b34086a | 14 | myled = 0; |
| shintamainjp | 0:998c5b34086a | 15 | wait(0.2); |
| shintamainjp | 0:998c5b34086a | 16 | } |
| shintamainjp | 0:998c5b34086a | 17 | } |