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:651e1fe2dbdb, 2014-05-31 (annotated)
- Committer:
- ralleboehm
- Date:
- Sat May 31 13:36:36 2014 +0000
- Revision:
- 0:651e1fe2dbdb
sparkfun inventor kit migration to mbed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ralleboehm | 0:651e1fe2dbdb | 1 | #include "mbed.h" |
ralleboehm | 0:651e1fe2dbdb | 2 | |
ralleboehm | 0:651e1fe2dbdb | 3 | DigitalOut gelb(D7); |
ralleboehm | 0:651e1fe2dbdb | 4 | |
ralleboehm | 0:651e1fe2dbdb | 5 | int main() { |
ralleboehm | 0:651e1fe2dbdb | 6 | while (1) { |
ralleboehm | 0:651e1fe2dbdb | 7 | gelb = 1; |
ralleboehm | 0:651e1fe2dbdb | 8 | wait(0.5); |
ralleboehm | 0:651e1fe2dbdb | 9 | gelb = 0; |
ralleboehm | 0:651e1fe2dbdb | 10 | wait(0.5); |
ralleboehm | 0:651e1fe2dbdb | 11 | } |
ralleboehm | 0:651e1fe2dbdb | 12 | } |