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
main.cpp@0:7528f78f73e5, 2017-11-09 (annotated)
- Committer:
- jon07
- Date:
- Thu Nov 09 13:43:25 2017 +0000
- Revision:
- 0:7528f78f73e5
iokl
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jon07 | 0:7528f78f73e5 | 1 | #include "mbed.h" |
| jon07 | 0:7528f78f73e5 | 2 | BusIn sw(A3,A4,A5); |
| jon07 | 0:7528f78f73e5 | 3 | |
| jon07 | 0:7528f78f73e5 | 4 | BusOut led (D2,D3,D4); |
| jon07 | 0:7528f78f73e5 | 5 | |
| jon07 | 0:7528f78f73e5 | 6 | int main() { |
| jon07 | 0:7528f78f73e5 | 7 | |
| jon07 | 0:7528f78f73e5 | 8 | while(1) { |
| jon07 | 0:7528f78f73e5 | 9 | led=~sw; |
| jon07 | 0:7528f78f73e5 | 10 | |
| jon07 | 0:7528f78f73e5 | 11 | } |
| jon07 | 0:7528f78f73e5 | 12 | } |