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:231de6a0410e, 2020-02-01 (annotated)
- Committer:
- dibbrowing
- Date:
- Sat Feb 01 20:00:58 2020 +0000
- Revision:
- 0:231de6a0410e
WHILE ANIDADO
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dibbrowing | 0:231de6a0410e | 1 | #include "mbed.h" |
dibbrowing | 0:231de6a0410e | 2 | |
dibbrowing | 0:231de6a0410e | 3 | DigitalOut myled(LED1); |
dibbrowing | 0:231de6a0410e | 4 | |
dibbrowing | 0:231de6a0410e | 5 | int main() { |
dibbrowing | 0:231de6a0410e | 6 | while(1) { |
dibbrowing | 0:231de6a0410e | 7 | myled = 1; |
dibbrowing | 0:231de6a0410e | 8 | wait(0.2); |
dibbrowing | 0:231de6a0410e | 9 | myled = 0; |
dibbrowing | 0:231de6a0410e | 10 | wait(0.2); |
dibbrowing | 0:231de6a0410e | 11 | } |
dibbrowing | 0:231de6a0410e | 12 | } |