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@0:47ca96fe741b, 2014-12-03 (annotated)
- Committer:
- astronikunj
- Date:
- Wed Dec 03 08:43:45 2014 +0000
- Revision:
- 0:47ca96fe741b
HGJFDYFJ
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| astronikunj | 0:47ca96fe741b | 1 | #include "mbed.h" |
| astronikunj | 0:47ca96fe741b | 2 | |
| astronikunj | 0:47ca96fe741b | 3 | BusOut myleds(LED_RED, LED_GREEN); |
| astronikunj | 0:47ca96fe741b | 4 | |
| astronikunj | 0:47ca96fe741b | 5 | int main() { |
| astronikunj | 0:47ca96fe741b | 6 | while(1) { |
| astronikunj | 0:47ca96fe741b | 7 | for(int i=0; i<4; i++) { |
| astronikunj | 0:47ca96fe741b | 8 | myleds = i; |
| astronikunj | 0:47ca96fe741b | 9 | wait(3); |
| astronikunj | 0:47ca96fe741b | 10 | } |
| astronikunj | 0:47ca96fe741b | 11 | } |
| astronikunj | 0:47ca96fe741b | 12 | } |
| astronikunj | 0:47ca96fe741b | 13 |