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.
main.cpp@1:cadd8563846c, 2012-02-02 (annotated)
- Committer:
- kalyan
- Date:
- Thu Feb 02 12:41:42 2012 +0000
- Revision:
- 1:cadd8563846c
- Parent:
- 0:783db9c615c6
publishing 1.6 proj from 1.6.1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kalyan | 0:783db9c615c6 | 1 | #include "mbed.h" |
kalyan | 0:783db9c615c6 | 2 | #include "led.h" |
kalyan | 0:783db9c615c6 | 3 | |
kalyan | 0:783db9c615c6 | 4 | LED led(LED1); |
kalyan | 0:783db9c615c6 | 5 | |
kalyan | 0:783db9c615c6 | 6 | int main() { |
kalyan | 0:783db9c615c6 | 7 | while (1) { |
kalyan | 0:783db9c615c6 | 8 | led.ON(); |
kalyan | 0:783db9c615c6 | 9 | wait(0.2); |
kalyan | 0:783db9c615c6 | 10 | led.OFF(); |
kalyan | 0:783db9c615c6 | 11 | wait(0.2); |
kalyan | 0:783db9c615c6 | 12 | } |
kalyan | 0:783db9c615c6 | 13 | } |
kalyan | 1:cadd8563846c | 14 | |
kalyan | 1:cadd8563846c | 15 | |
kalyan | 1:cadd8563846c | 16 |