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@13:850be84c78dd, 2017-02-16 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Thu Feb 16 12:34:00 2017 -0500
- Revision:
- 13:850be84c78dd
- Parent:
- 11:6ce1d834ecb7
- Child:
- 17:8c77b958edd7
Import HardwareInterface and mock it
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dupm2216 | 1:ed506b2298b4 | 1 | #include "rtos.h" |
| Maxime Dupuis |
13:850be84c78dd | 2 | #include "HardwareLPC1768.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 | { |
| Maxime Dupuis |
13:850be84c78dd | 8 | HardwareLPC1768 hardware_lpc1768(led); |
| Maxime Dupuis |
2:6e467e4978f9 | 9 | while(1) |
| Maxime Dupuis |
2:6e467e4978f9 | 10 | { |
| Maxime Dupuis |
13:850be84c78dd | 11 | hardware_lpc1768.blink(); |
| dupm2216 | 0:e7c4a5d26268 | 12 | } |
| dupm2216 | 0:e7c4a5d26268 | 13 | } |
| dupm2216 | 11:6ce1d834ecb7 | 14 |