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 mbed-rtos HardwareInterface EthernetInterface WebSocketClient
main.cpp@11:6ce1d834ecb7, 2017-02-15 (annotated)
- Committer:
- dupm2216
- Date:
- Wed Feb 15 22:26:39 2017 +0000
- Revision:
- 11:6ce1d834ecb7
- Parent:
- 7:e5414568de93
- Child:
- 13:850be84c78dd
Use external library from mbed.org repo
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dupm2216 | 1:ed506b2298b4 | 1 | #include "rtos.h" |
| dupm2216 | 11:6ce1d834ecb7 | 2 | #include "MbedBlinker.hpp" |
| dupm2216 | 0:e7c4a5d26268 | 3 | |
| dupm2216 | 11:6ce1d834ecb7 | 4 | DigitalOut led(LED1); |
| dupm2216 | 0:e7c4a5d26268 | 5 | |
| Maxime Dupuis |
2:6e467e4978f9 | 6 | int main() |
| Maxime Dupuis |
2:6e467e4978f9 | 7 | { |
| dupm2216 | 11:6ce1d834ecb7 | 8 | MbedBlinker blinker(led); |
| Maxime Dupuis |
2:6e467e4978f9 | 9 | while(1) |
| Maxime Dupuis |
2:6e467e4978f9 | 10 | { |
| dupm2216 | 11:6ce1d834ecb7 | 11 | blinker.blink(); |
| dupm2216 | 0:e7c4a5d26268 | 12 | } |
| dupm2216 | 0:e7c4a5d26268 | 13 | } |
| dupm2216 | 11:6ce1d834ecb7 | 14 |